We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8caf290 commit 18467c2Copy full SHA for 18467c2
.github/workflows/main.yml
@@ -48,4 +48,19 @@ jobs:
48
- name: Run basic yaml validation
49
run: |
50
python tests/validate_yaml.py
51
-
+ on-fail:
52
+ if: failure() && github.event_name == 'pull_request'
53
+ runs-on: ubuntu-latest
54
+ needs: check
55
+ steps:
56
+ - name: Add label to PR
57
+ uses: actions/github-script@v7
58
+ with:
59
+ script: |
60
+ const label = 'staging-skip';
61
+ github.rest.issues.addLabels({
62
+ owner: context.repo.owner,
63
+ repo: context.repo.repo,
64
+ issue_number: context.issue.number,
65
+ labels: [label]
66
+ });
0 commit comments