Skip Build on Mac OS #90922
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow is required to ensure that required Github check passes even if | |
# the actual "Build on Mac OS" workflow skipped due to path filtering. Otherwise | |
# it will stay forever pending. | |
# | |
# See "Handling skipped but required checks" for more info: | |
# | |
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks | |
# | |
# Note both workflows must have the same name. | |
name: Build on Mac OS | |
run-name: Skip Build on Mac OS | |
on: | |
pull_request: | |
merge_group: | |
paths-ignore: | |
- '.github/workflows/build-macos.yaml' | |
- '**.go' | |
- 'go.mod' | |
- 'go.sum' | |
- '**.rs' | |
- 'Cargo.toml' | |
- 'Cargo.lock' | |
- 'build.assets/Makefile' | |
- 'build.assets/Dockerfile*' | |
- 'Makefile' | |
jobs: | |
build: | |
name: Build on Mac OS | |
runs-on: ubuntu-latest | |
permissions: | |
contents: none | |
steps: | |
- run: 'echo "No code changes"' |