Skip to content

Commit b5c520b

Browse files
Add missing permission to check_libs.yaml (#7)
Repository is configured to use permission-less GITHUB_TOKEN by default (instead of granting write for all permissions) i.e. "Read repository contents and packages permissions" instead of "Read and write permissions" for "Workflow permissions" setting > Choose the default permissions granted to the GITHUB_TOKEN when running workflows in this repository. You can specify more granular permissions in the workflow using YAML.
1 parent cea10b3 commit b5c520b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/check_libs.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,5 @@ jobs:
3737
charm-path: ${{ matrix.path }}
3838
credentials: "${{ secrets.CHARMHUB_TOKEN }}"
3939
github-token: "${{ secrets.GITHUB_TOKEN }}"
40+
permissions:
41+
issues: write # Needed to edit pull request labels

0 commit comments

Comments
 (0)