Skip to content

Commit

Permalink
Merge pull request #2 from trocco-io/add_permissions_to_workflows
Browse files Browse the repository at this point in the history
Add permissions to workflows
  • Loading branch information
d-hrs authored Oct 25, 2024
2 parents d7d5ab1 + 220b207 commit f1a162a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
needs: diff
if: needs.diff.outputs.hash-master != needs.diff.outputs.hash-main
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
strategy:
fail-fast: true
steps:
Expand Down

0 comments on commit f1a162a

Please sign in to comment.