Skip to content

Commit 2324e0c

Browse files
authored
add (#582)
1 parent e38ec4e commit 2324e0c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/label-on-approval.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,18 @@ jobs:
1616
- name: Checkout code
1717
uses: actions/checkout@v4
1818

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+
1926
- name: Check if approval is from Collaborators
2027
id: check_approval
2128
uses: actions/github-script@v7
2229
with:
23-
github-token: ${{ secrets.GITHUB_TOKEN }}
30+
github-token: ${{ steps.auth.outputs.token }}
2431
script: |
2532
const { owner, repo } = context.repo;
2633
const { pull_request, review } = context.payload;

0 commit comments

Comments
 (0)