Skip to content

Commit 76d57b2

Browse files
michaelklishinmergify[bot]
authored andcommitted
Actions: use sudo with 'service'
(cherry picked from commit 43805ca)
1 parent eabf090 commit 76d57b2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/test-plugin-mixed.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ jobs:
107107
ldap-utils \
108108
slapd
109109
110-
systemctl is-active --quiet apparmor.service && systemctl stop apparmor.service
111-
systemctl disable apparmor.service
110+
sudo systemctl is-active --quiet apparmor.service && sudo systemctl stop apparmor.service
111+
sudo systemctl disable apparmor.service
112112
113113
cat << EOF >> user.bazelrc
114114
build --strategy=TestRunner=local

.github/workflows/test-plugin.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ jobs:
104104
ldap-utils \
105105
slapd
106106
107-
systemctl is-active --quiet apparmor.service && systemctl stop apparmor.service
108-
systemctl disable apparmor.service
107+
sudo systemctl is-active --quiet apparmor.service && sudo systemctl stop apparmor.service
108+
sudo systemctl disable apparmor.service
109109
110110
cat << EOF >> user.bazelrc
111111
build --strategy=TestRunner=local

0 commit comments

Comments
 (0)