Skip to content

Create workflows for different scenarios where we'd want to run quick… #1

Create workflows for different scenarios where we'd want to run quick…

Create workflows for different scenarios where we'd want to run quick… #1

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

View workflow run for this annotation

GitHub Actions / .github/workflows/checks-merge-protected-branch.yml

Invalid workflow file

invalid value workflow reference: workflows must be defined at the top level of the .github/workflows/ directory