We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3264da commit 896bd47Copy full SHA for 896bd47
.github/workflows/pre-commit.yml
@@ -72,7 +72,8 @@ jobs:
72
steps:
73
- name: Report success
74
if: |
75
- contains(github.event.pull_request.labels.*.name, 'Status: Pending Merge')
+ contains(github.event.pull_request.labels.*.name, 'Status: Pending Merge') &&
76
+ needs.lint.result == 'success'
77
uses: actions/github-script@v7
78
with:
79
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -88,7 +89,8 @@ jobs:
88
89
90
- name: Report pending
91
- ${{ !contains(github.event.pull_request.labels.*.name, 'Status: Pending Merge') }}
92
+ !contains(github.event.pull_request.labels.*.name, 'Status: Pending Merge') ||
93
+ needs.lint.result == 'failure'
94
95
96
0 commit comments