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 5ae7b44 commit 6661ee4Copy full SHA for 6661ee4
2 files changed
.github/workflows/pr-nightly-comment.yml
@@ -5,7 +5,10 @@ on:
5
types: [completed]
6
jobs:
7
pr_comment:
8
- if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
+ if: |
9
+ github.event.workflow_run.event == 'pull_request' &&
10
+ github.event.workflow_run.conclusion == 'success' &&
11
+ !contains(fromJson(github.event.workflow_run.pull_requests).*.labels.*.name, 'no test needed')
12
runs-on: ubuntu-latest
13
steps:
14
- name: Get the PR number
.github/workflows/pr-nightly.yml
@@ -16,6 +16,7 @@ env:
16
17
18
build:
19
+ if: ${{ !contains(github.event.pull_request.labels.*.name, 'no test needed') }}
20
runs-on: windows-latest
21
22
0 commit comments