Skip to content

Commit 43805ca

Browse files
Actions: use sudo with 'service'
1 parent bdafbe7 commit 43805ca

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
@@ -101,8 +101,8 @@ jobs:
101101
ldap-utils \
102102
slapd
103103
104-
systemctl is-active --quiet apparmor.service && systemctl stop apparmor.service
105-
systemctl disable apparmor.service
104+
sudo systemctl is-active --quiet apparmor.service && sudo systemctl stop apparmor.service
105+
sudo systemctl disable apparmor.service
106106
107107
cat << EOF >> user.bazelrc
108108
build --strategy=TestRunner=local

.github/workflows/test-plugin.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ jobs:
9898
ldap-utils \
9999
slapd
100100
101-
systemctl is-active --quiet apparmor.service && systemctl stop apparmor.service
102-
systemctl disable apparmor.service
101+
sudo systemctl is-active --quiet apparmor.service && sudo systemctl stop apparmor.service
102+
sudo systemctl disable apparmor.service
103103
104104
cat << EOF >> user.bazelrc
105105
build --strategy=TestRunner=local

0 commit comments

Comments
 (0)