Skip to content

Commit 70afa9f

Browse files
committed
update ignore timeout only on workflow dispatch by team member &&
update the job name
1 parent 18ed8d0 commit 70afa9f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/pr-differences-mutants.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,26 @@ concurrency:
1717
cancel-in-progress: true
1818

1919
jobs:
20-
check-right-permissions:
21-
name: Check Right Permissions
20+
check-access-permissions:
21+
name: Check Access Permissions
2222
runs-on: ubuntu-latest
2323

2424
steps:
25-
- name: Check Right Permissions To Trigger This
26-
id: check_right_permissions
25+
- name: Check Access Permissions To Trigger This
26+
id: check_access_permissions
2727
uses: stacks-network/actions/team-membership@main
2828
with:
2929
username: ${{ github.actor }}
3030
team: 'blockchain-team'
3131
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
3232

3333
outputs:
34-
ignore_timeout: ${{ steps.check_right_permissions.outputs.is_team_member == 'true' }}
34+
ignore_timeout: ${{ steps.check_access_permissions.outputs.is_team_member == 'true' && github.event_name == 'workflow_dispatch' }}
3535

3636
# Check and output whether to run big (`stacks-node`/`stackslib`) or small (others) packages with or without shards
3737
check-big-packages-and-shards:
3838
name: Check Packages and Shards
39-
needs: check-right-permissions
39+
needs: check-access-permissions
4040

4141
runs-on: ubuntu-latest
4242

@@ -54,7 +54,7 @@ jobs:
5454
- id: check_packages_and_shards
5555
uses: stacks-network/actions/stacks-core/mutation-testing/check-packages-and-shards@main
5656
with:
57-
ignore_timeout: ${{ needs.check-right-permissions.outputs.ignore_timeout }}
57+
ignore_timeout: ${{ needs.check-access-permissions.outputs.ignore_timeout }}
5858

5959
# Mutation testing - Execute on PR on small packages that have functions modified (normal run, no shards)
6060
pr-differences-mutants-small-normal:

0 commit comments

Comments
 (0)