Skip to content

Commit dfbd607

Browse files
authored
ci(labels): use GITHUB_TOKEN
1 parent c0ee785 commit dfbd607

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

.github/workflows/check-pr.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: "Check PR"
33
on: pull_request
44

55
permissions:
6-
actions: write
7-
contents: write
86
pull-requests: write
97

108
jobs:
@@ -39,12 +37,6 @@ jobs:
3937
PR_TITLE: ${{github.event.pull_request.title}}
4038
PR_COMMITS_URL: ${{github.event.pull_request.commits_url}}
4139
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
42-
- name: Authenticate CLI with a PAT
43-
env:
44-
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
45-
if: env.RELEASE_TOKEN != ''
46-
shell: bash
47-
run: echo "${RELEASE_TOKEN}" | gh auth login --with-token
4840
- name: Update PR labels
4941
shell: bash
5042
run: |

0 commit comments

Comments
 (0)