Skip to content

Commit

Permalink
Debugging: add empty 'skip' job
Browse files Browse the repository at this point in the history
  • Loading branch information
EZoni committed Nov 18, 2024
1 parent 49e5f3e commit 3fc9001
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check_diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
git diff --name-only --diff-filter=ACMRTUXB origin/${BASE_REF}..fork/${HEAD_REF} > check_diff.txt
- name: Check files changed
run: |
if grep -v -E "^(docs|\.github)/" check_diff.txt; then
if grep -v -E "^(docs|\.github)/|\.azure-pipelines\.yml$" check_diff.txt; then
echo "skip=false" >> ${GITHUB_OUTPUT}
else
echo "skip=true" >> ${GITHUB_OUTPUT}
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,18 @@ concurrency:
cancel-in-progress: true

jobs:
skip:
name: Skip
runs-on: macos-latest
if: ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "true" }}
steps:
- name: Skip checks
run: |
echo "Skip checks"
build_appleclang:
name: AppleClang
runs-on: macos-latest
if: 0
#if: ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
if: ${{ github.event.pull_request.draft == false && github.event.workflow_run.outputs.skip == "false" }}
env:
CXXFLAGS: "-Werror -Wno-error=pass-failed"
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: TRUE
Expand Down

0 comments on commit 3fc9001

Please sign in to comment.