Create workflows for different scenarios where we'd want to run quick… #1
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: 'Quick Checks: protected branches & tags' | ||
on: | ||
# We always run checks on: | ||
# - PR merges to main | ||
# - PR merges to release branches | ||
push: | ||
branches: | ||
- 'main' | ||
- 'v[0-9]+.[0-9]+' | ||
tags: | ||
- 'v[0-9]+.[0-9]+.[0-9]+*' | ||
# This workflow runs for not-yet-reviewed external contributions and so it | ||
# intentionally has no write access and only limited read access to the | ||
# repository. | ||
permissions: | ||
contents: read | ||
jobs: | ||
quick-checks: | ||
uses: ./.github/workflows/reusable/checks.yml | ||
Check failure on line 22 in .github/workflows/checks-merge-protected-branch.yml
|