Skip to content

Commit

Permalink
Add job permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
enyineer committed Feb 28, 2024
1 parent aa547c4 commit 47dd7d7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ name: build
on:
push:

permissions:
contents: write

jobs:
my-job:
name: my-job
build:
name: build
runs-on: ubuntu-latest
permissions:
contents: write
steps:
# ...
- name: Checkout
Expand Down

0 comments on commit 47dd7d7

Please sign in to comment.