Skip to content

Commit

Permalink
Restrict build workflow permissions and only trigger on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
sertonix authored and steffen74 committed Aug 1, 2024
1 parent ecdddf0 commit da31fb6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ on:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

permissions: read-all
permissions: {}

jobs:
package:
Expand Down

0 comments on commit da31fb6

Please sign in to comment.