aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/commit-access-review.yml12
1 files changed, 11 insertions, 1 deletions
diff --git a/.github/workflows/commit-access-review.yml b/.github/workflows/commit-access-review.yml
index 2809b1c..7577870 100644
--- a/.github/workflows/commit-access-review.yml
+++ b/.github/workflows/commit-access-review.yml
@@ -21,11 +21,21 @@ jobs:
- name: Install dependencies
run: |
pip install --require-hashes -r ./llvm/utils/git/requirements.txt
+
+ - id: app-token
+ uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf #v2.2.1
+ with:
+ app-id: ${{ secrets.LLVM_TOKEN_GENERATOR_CLIENT_ID }}
+ private-key: ${{ secrets.LLVM_TOKEN_GENERATOR_PRIVATE_KEY }}
+ owner: ${{ github.repository_owner }}
+ permission-members: read
+ permission-contents: read
- name: Run Script
env:
- GITHUB_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}
+ GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
run: |
+ echo "${{ steps.app-token.outputs.app-slug }}[bot]"
python3 .github/workflows/commit-access-review.py $GITHUB_TOKEN
- name: Upload Triage List