sync upstream from l2beat main #38
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
name: Smoke Test (PR) | |
on: | |
pull_request: | |
# This job is marked as required but GitHub does not allow us to specify | |
# runner context (Pull Request vs. Merge Group) for which requirement applies | |
# thus we introduce a dummy step that will always skip the run in the PR context, | |
# letting us preserve the required status for the job in the Merge Group context | |
jobs: | |
config-smoke-test: | |
name: Config smoke test | |
# Saves us from wasting time required to spin up the runner | |
if: 1 == 0 | |
runs-on: ubuntu-latest | |
steps: | |
# It will not run but is required | |
- name: Skip run in PR context | |
run: echo "⏩ - Run skipped, this job is only meant to run in the Merge Group context" |