Skip to content

Commit 176a0f0

Browse files
committed
fix: allow sudo in workflow that needs it
1 parent e3cc660 commit 176a0f0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/wc-document-generation.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@ jobs:
1313
steps:
1414
- uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
1515
with:
16-
disable-sudo-and-containers: true
1716
egress-policy: audit
1817
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1918
with:
2019
persist-credentials: false
2120
- name: Install dependencies
2221
run: |
2322
set -Eeuo pipefail
24-
apt-get install --update --no-install-recommends -y pandoc plantuml texlive texlive-fonts-recommended
23+
sudo apt-get install --update --no-install-recommends -y pandoc plantuml texlive texlive-fonts-recommended
2524
python -m pip install gherkin-official pytm sbdl
2625
- name: Generate requirements document
2726
run: |

0 commit comments

Comments
 (0)