Skip to content

Commit 73e770f

Browse files
committed
ci: add permissions
1 parent 5755e37 commit 73e770f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/pr-sort.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ name: Pull Request Conference Sort & All-contrib
33
on:
44
pull_request:
55
paths:
6-
- '_data/conferences.yml'
6+
- '_data/conferences.yml'
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
711

812
jobs:
913
sort:
@@ -14,6 +18,7 @@ jobs:
1418
with:
1519
ref: ${{ github.event.pull_request.head.ref }}
1620
repository: ${{ github.event.pull_request.head.repo.full_name }}
21+
token: ${{ secrets.GH_PAT }}
1722

1823
- name: Setup Pixi
1924
uses: prefix-dev/[email protected]
@@ -40,6 +45,7 @@ jobs:
4045
with:
4146
ref: ${{ github.event.pull_request.head.ref }}
4247
repository: ${{ github.event.pull_request.head.repo.full_name }}
48+
token: ${{ secrets.GH_PAT }}
4349

4450
- name: Setup Pixi
4551
uses: prefix-dev/[email protected]

0 commit comments

Comments
 (0)