Skip to content

Commit 85829f2

Browse files
authored
Attempt to get necessary permissions for default token
If the repo or organization has the right setting, this should make this Just Work without having to set up a custom GH_TOKEN. The relevant setting is under `Settings > Actions > General`. Under "Workflow permissions", check "Allow GitHub Actions to create and approve pull requests". This setting needs to be enabled for the repository or organization in order for the default token to work.
1 parent e0be248 commit 85829f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/includes.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
jobs:
1212
includes:
1313
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write
16+
pull-requests: write
1417
steps:
1518
- name: 🤖 defaults
1619
uses: devlooped/actions-bot@v1

0 commit comments

Comments
 (0)