Skip to content

Commit

Permalink
Add permissions to autolabelling action token.
Browse files Browse the repository at this point in the history
Signed-off-by: Nashwan Azhari <[email protected]>
  • Loading branch information
aznashwan committed Jul 28, 2023
1 parent d0ab836 commit dc6e3e9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/autolabeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@

name: Auto-labelling.

permissions:
contents: read
issues: write
pull-requests: write
# NOTE: required to pull image if fork is private.
packages: read

on:
workflow_dispatch:
push:
branches: [main]


jobs:
autolabel:
runs-on: ubuntu-latest
Expand Down

0 comments on commit dc6e3e9

Please sign in to comment.