Skip to content

Commit a6e5a7f

Browse files
authored
Merge pull request #176 from devcontainers-extra/ci/fix-archive
ci: use token for PR creation
2 parents 0ddaf61 + b8688b1 commit a6e5a7f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/archive-feature.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,14 @@ on:
88
required: true
99
type: string
1010

11-
permissions:
12-
contents: write
13-
pull-requests: write
14-
1511
jobs:
1612
archive:
1713
runs-on: ubuntu-latest
1814
steps:
1915
- name: Checkout repository
2016
uses: actions/checkout@v6
17+
with:
18+
token: ${{ secrets.ARCHIVE_TOKEN }}
2119

2220
- name: Install just
2321
uses: extractions/setup-just@v3
@@ -41,7 +39,7 @@ jobs:
4139

4240
- name: Create Pull Request
4341
env:
44-
GH_TOKEN: ${{ github. token }}
42+
GH_TOKEN: ${{ secrets.ARCHIVE_TOKEN }}
4543
run: |
4644
gh pr create \
4745
--title "Archive feature: ${{ inputs.feature_name }}" \

0 commit comments

Comments
 (0)