Skip to content

Commit 3fc9001

Browse files
committed
Debugging: add empty 'skip' job
1 parent 49e5f3e commit 3fc9001

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/check_diff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
git diff --name-only --diff-filter=ACMRTUXB origin/${BASE_REF}..fork/${HEAD_REF} > check_diff.txt
4141
- name: Check files changed
4242
run: |
43-
if grep -v -E "^(docs|\.github)/" check_diff.txt; then
43+
if grep -v -E "^(docs|\.github)/|\.azure-pipelines\.yml$" check_diff.txt; then
4444
echo "skip=false" >> ${GITHUB_OUTPUT}
4545
else
4646
echo "skip=true" >> ${GITHUB_OUTPUT}

.github/workflows/macos.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,18 @@ concurrency:
1414
cancel-in-progress: true
1515

1616
jobs:
17+
skip:
18+
name: Skip
19+
runs-on: macos-latest
20+
if: ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "true" }}
21+
steps:
22+
- name: Skip checks
23+
run: |
24+
echo "Skip checks"
1725
build_appleclang:
1826
name: AppleClang
1927
runs-on: macos-latest
20-
if: 0
21-
#if: ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
28+
if: ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
2229
env:
2330
CXXFLAGS: "-Werror -Wno-error=pass-failed"
2431
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: TRUE

0 commit comments

Comments
 (0)