Skip to content

Commit

Permalink
fix: add action permission
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmanuel-tirado committed Jun 28, 2024
1 parent 59868bb commit 85ade68
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: read
repository-projects: write
actions: write

steps:
- name: Harden Runner
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/clean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

permissions:
contents: read
repository-projects: write
actions: write


jobs:
Expand All @@ -18,14 +18,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
disable-sudo: true
egress-policy: audit
with:
disable-sudo: true
egress-policy: audit

- name: Clean Docker cache
env:
env:
TARGET: ${{ runner.os }}-buildx-v1.0-service-node-${{ github.ref_name }}
run: |
run: |
curl -L \
-X DELETE \
-H "Accept: application/vnd.github+json" \
Expand Down

0 comments on commit 85ade68

Please sign in to comment.