We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e38ec4e commit 2324e0cCopy full SHA for 2324e0c
.github/workflows/label-on-approval.yml
@@ -16,11 +16,18 @@ jobs:
16
- name: Checkout code
17
uses: actions/checkout@v4
18
19
+ - name: Authenticate with GitHub App
20
+ id: auth
21
+ uses: mxsm/rocketmq-app
22
+ with:
23
+ app_id: ${{ secrets.APP_ID }} # GitHub App ID
24
+ private_key: ${{ secrets.PRIVATE_KEY }} # GitHub App Private Key
25
+
26
- name: Check if approval is from Collaborators
27
id: check_approval
28
uses: actions/github-script@v7
29
with:
- github-token: ${{ secrets.GITHUB_TOKEN }}
30
+ github-token: ${{ steps.auth.outputs.token }}
31
script: |
32
const { owner, repo } = context.repo;
33
const { pull_request, review } = context.payload;
0 commit comments