Skip to content

Commit 6ada69d

Browse files
committed
remove input mutants dispatch and
automatically proceed from the action's context
1 parent 4d51e01 commit 6ada69d

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

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

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,6 @@ on:
1010
paths:
1111
- '**.rs'
1212
workflow_dispatch:
13-
inputs:
14-
ignore_timeout:
15-
description: "Ignore mutants timeout limit"
16-
required: false
17-
type: choice
18-
options:
19-
- true
20-
default: 'true'
2113

2214
concurrency:
2315
group: pr-differences-${{ github.head_ref || github.ref || github.run_id }}
@@ -38,9 +30,8 @@ jobs:
3830
team: 'blockchain-team'
3931
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
4032

41-
- name: Fail if the user does not have the right permissions
42-
if: ${{ inputs.ignore_timeout == 'true' && steps.check_right_permissions.outputs.is_team_member != 'true' }}
43-
run: exit 1
33+
outputs:
34+
ignore_timeout: ${{ steps.check_right_permissions.outputs.is_team_member == 'true' }}
4435

4536
# Check and output whether to run big (`stacks-node`/`stackslib`) or small (others) packages with or without shards
4637
check-big-packages-and-shards:
@@ -63,7 +54,7 @@ jobs:
6354
- id: check_packages_and_shards
6455
uses: stacks-network/actions/stacks-core/mutation-testing/check-packages-and-shards@main
6556
with:
66-
ignore_timeout: ${{ inputs.ignore_timeout }}
57+
ignore_timeout: ${{ needs.check-right-permissions.outputs.ignore_timeout }}
6758

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

0 commit comments

Comments
 (0)