Skip to content

Commit c2eae05

Browse files
authored
Update config file (#584)
1 parent 2324e0c commit c2eae05

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ jobs:
1818

1919
- name: Authenticate with GitHub App
2020
id: auth
21-
uses: mxsm/rocketmq-app
21+
uses: tibdex/github-app-token@v2
2222
with:
23-
app_id: ${{ secrets.APP_ID }} # GitHub App ID
24-
private_key: ${{ secrets.PRIVATE_KEY }} # GitHub App Private Key
23+
app_id: ${{ secrets.APP_ID }}
24+
private_key: ${{ secrets.PRIVATE_KEY }}
25+
- run: "echo 'The created token is masked: ${{ steps.create_token.outputs.token }}'"
2526

2627
- name: Check if approval is from Collaborators
2728
id: check_approval
@@ -35,7 +36,6 @@ jobs:
3536
console.log('No review found.');
3637
return;
3738
}
38-
// Define your list of collaborators
3939
const collaborators = ['mxsm', 'TeslaRustor','SpaceXCN']; // Replace with actual GitHub usernames
4040
console.log('review:', review.state);
4141
console.log('review:', review.state === 'approved');

0 commit comments

Comments
 (0)