fix: replace GITHUB_TOKEN with PROJECT_TOKEN in workflows
This commit is contained in:
2
.github/workflows/renovate_prune.yml
vendored
2
.github/workflows/renovate_prune.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
|||||||
- name: Prune renovate branches
|
- name: Prune renovate branches
|
||||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
|
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.PROJECT_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
const owner = context.repo.owner;
|
const owner = context.repo.owner;
|
||||||
const repo = context.repo.repo;
|
const repo = context.repo.repo;
|
||||||
|
|||||||
Reference in New Issue
Block a user