We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 883b9ef commit fb6af5dCopy full SHA for fb6af5d
1 file changed
.github/actions/crates-reporter/action.yml
@@ -53,11 +53,17 @@ runs:
53
env:
54
EVENT_NAME: ${{ github.event_name }}
55
PR_BASE_REF: ${{ github.base_ref }}
56
+ PR_LABELS: ${{ toJSON(github.event.pull_request.labels.*.name) }}
57
run: |
58
if [[ "$EVENT_NAME" != "pull_request" ]]; then
59
echo "status=skipped" >> $GITHUB_OUTPUT
60
exit 0
61
fi
62
+ if echo "$PR_LABELS" | jq -e 'any(. == "run-all-tests")' > /dev/null 2>&1; then
63
+ echo "Label 'run-all-tests' detected, skipping change detection"
64
+ echo "status=skipped" >> $GITHUB_OUTPUT
65
+ exit 0
66
+ fi
67
if ! RUST_LOG=debug ${{ github.action_path }}/../target/release/crates-reporter $PR_BASE_REF; then
68
69
0 commit comments