9
9
- ready_for_review
10
10
paths :
11
11
- ' **.rs'
12
+ workflow_dispatch :
12
13
13
14
concurrency :
14
15
group : pr-differences-${{ github.head_ref || github.ref || github.run_id }}
15
16
# Always cancel duplicate jobs
16
17
cancel-in-progress : true
17
18
18
19
jobs :
20
+ check-access-permissions :
21
+ name : Check Access Permissions
22
+ runs-on : ubuntu-latest
23
+
24
+ steps :
25
+ - name : Check Access Permissions To Trigger This
26
+ id : check_access_permissions
27
+ uses : stacks-network/actions/team-membership@main
28
+ with :
29
+ username : ${{ github.actor }}
30
+ team : ' blockchain-team'
31
+ GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
32
+
33
+ outputs :
34
+ ignore_timeout : ${{ steps.check_access_permissions.outputs.is_team_member == 'true' && github.event_name == 'workflow_dispatch' }}
35
+
19
36
# Check and output whether to run big (`stacks-node`/`stackslib`) or small (others) packages with or without shards
20
37
check-big-packages-and-shards :
21
38
name : Check Packages and Shards
39
+ needs : check-access-permissions
22
40
23
41
runs-on : ubuntu-latest
24
42
@@ -30,10 +48,13 @@ jobs:
30
48
run_small_packages : ${{ steps.check_packages_and_shards.outputs.run_small_packages }}
31
49
small_packages_with_shards : ${{ steps.check_packages_and_shards.outputs.small_packages_with_shards }}
32
50
run_stacks_signer : ${{ steps.check_packages_and_shards.outputs.run_stacks_signer }}
51
+ too_many_mutants : ${{ steps.check_packages_and_shards.outputs.too_many_mutants }}
33
52
34
53
steps :
35
54
- id : check_packages_and_shards
36
55
uses : stacks-network/actions/stacks-core/mutation-testing/check-packages-and-shards@main
56
+ with :
57
+ ignore_timeout : ${{ needs.check-access-permissions.outputs.ignore_timeout }}
37
58
38
59
# Mutation testing - Execute on PR on small packages that have functions modified (normal run, no shards)
39
60
pr-differences-mutants-small-normal :
@@ -220,3 +241,4 @@ jobs:
220
241
small_packages : ${{ needs.check-big-packages-and-shards.outputs.run_small_packages }}
221
242
shards_for_small_packages : ${{ needs.check-big-packages-and-shards.outputs.small_packages_with_shards }}
222
243
stacks_signer : ${{ needs.check-big-packages-and-shards.outputs.run_stacks_signer }}
244
+ too_many_mutants : ${{ needs.check-big-packages-and-shards.outputs.too_many_mutants }}
0 commit comments