File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,11 @@ jobs:
18
18
19
19
- name : Authenticate with GitHub App
20
20
id : auth
21
- uses : mxsm/rocketmq -app
21
+ uses : tibdex/github -app-token@v2
22
22
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 }}'"
25
26
26
27
- name : Check if approval is from Collaborators
27
28
id : check_approval
35
36
console.log('No review found.');
36
37
return;
37
38
}
38
- // Define your list of collaborators
39
39
const collaborators = ['mxsm', 'TeslaRustor','SpaceXCN']; // Replace with actual GitHub usernames
40
40
console.log('review:', review.state);
41
41
console.log('review:', review.state === 'approved');
You can’t perform that action at this time.
0 commit comments