File tree Expand file tree Collapse file tree 4 files changed +61
-47
lines changed Expand file tree Collapse file tree 4 files changed +61
-47
lines changed Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
check-membership :
10
- uses : ./.github/workflows/check_membership.yml
11
- secrets : inherit
10
+ name : Check Membership
11
+ runs-on : ubuntu-latest
12
+ # Dont run this workflow on merge queue
13
+ if : ${{ github.event_name != 'merge_group' }}
14
+ outputs :
15
+ is_member : ${{ steps.check-membership.outputs.is_member}}
16
+ steps :
17
+ - name : Create GitHub App Token
18
+ uses : actions/create-github-app-token@v1
19
+ id : app-token
20
+ with :
21
+ app-id : ${{ vars.CLA_BOT_APP_ID }}
22
+ private-key : ${{ secrets.CLA_BOT_PRIVATE_KEY }}
23
+
24
+ - name : Checkout
25
+ uses : actions/checkout@v4
26
+ with :
27
+ repository : ' dfinity/public-workflows'
28
+
29
+ - name : Python Setup
30
+ uses : ./.github/workflows/python-setup
31
+
32
+ - name : Check Membership
33
+ id : check-membership
34
+ run : python reusable_workflows/check_membership/check_membership.py
35
+ shell : bash
36
+ env :
37
+ GH_TOKEN : ${{ steps.app-token.outputs.token }}
38
+ GH_ORG : ${{ github.repository_owner }}
39
+ USER : ${{ github.event.pull_request.user.login }}
12
40
13
41
check-external-contributions :
14
42
name : Check External Contributions
Original file line number Diff line number Diff line change 13
13
14
14
jobs :
15
15
call-check-cla :
16
- uses : .github/workflows/check_cla.yml
16
+ uses : dfinity/public-workflows/ .github/workflows/check_cla.yml@main
17
17
secrets : inherit
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -15,8 +15,36 @@ permissions:
15
15
16
16
jobs :
17
17
check-membership :
18
- uses : ./.github/workflows/check_membership.yml
19
- secrets : inherit
18
+ name : Check Membership
19
+ runs-on : ubuntu-latest
20
+ # Dont run this workflow on merge queue
21
+ if : ${{ github.event_name != 'merge_group' }}
22
+ outputs :
23
+ is_member : ${{ steps.check-membership.outputs.is_member}}
24
+ steps :
25
+ - name : Create GitHub App Token
26
+ uses : actions/create-github-app-token@v1
27
+ id : app-token
28
+ with :
29
+ app-id : ${{ vars.CLA_BOT_APP_ID }}
30
+ private-key : ${{ secrets.CLA_BOT_PRIVATE_KEY }}
31
+
32
+ - name : Checkout
33
+ uses : actions/checkout@v4
34
+ with :
35
+ repository : ' dfinity/public-workflows'
36
+
37
+ - name : Python Setup
38
+ uses : ./.github/workflows/python-setup
39
+
40
+ - name : Check Membership
41
+ id : check-membership
42
+ run : python reusable_workflows/check_membership/check_membership.py
43
+ shell : bash
44
+ env :
45
+ GH_TOKEN : ${{ steps.app-token.outputs.token }}
46
+ GH_ORG : ${{ github.repository_owner }}
47
+ USER : ${{ github.event.pull_request.user.login }}
20
48
21
49
revoke-approvals :
22
50
name : Revoke Approvals
You can’t perform that action at this time.
0 commit comments