Skip to content

Commit

Permalink
github workflows: add permissions.
Browse files Browse the repository at this point in the history
  • Loading branch information
pnx committed Dec 21, 2024
1 parent a2c39f7 commit ce80405
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/devbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Development build

permissions:
contents: write

on:
push:
branches: [ dev ]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Package
permissions:
contents: write

on:
release:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Test

permissions:
contents: read

on:
- push
- pull_request
Expand Down

0 comments on commit ce80405

Please sign in to comment.