Skip to content

Skip Unit Tests (Go) - 12333626494 - @hugoShaka #76365

Skip Unit Tests (Go) - 12333626494 - @hugoShaka

Skip Unit Tests (Go) - 12333626494 - @hugoShaka #76365

# This workflow is required to ensure that required Github check passes even if
# the actual "Unit Tests (Go)" 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: Unit Tests (Go)
run-name: Skip Unit Tests (Go) - ${{ github.run_id }} - @${{ github.actor }}
on:
pull_request:
paths-ignore:
- '.github/workflows/unit-tests-code.yaml'
- '**.go'
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
- 'Makefile'
merge_group:
paths-ignore:
- '.github/workflows/unit-tests-code.yaml'
- '**.go'
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
- 'Makefile'
jobs:
test:
name: Unit Tests (Go)
runs-on: ubuntu-latest
permissions:
contents: none
steps:
- run: 'echo "No changes to verify"'