# Which issue(s) this PR closes Closes https://github.com/grafana/oncall/issues/4503 Closes https://github.com/grafana/oncall-private/issues/2876 ## Checklist - [ ] Unit, integration, and e2e (if applicable) tests updated - [x] Documentation added (or `pr:no public docs` PR label added if not required) - [x] Added the relevant release notes label (see labels prefixed w/ `release:`). These labels dictate how your PR will show up in the autogenerated release notes.
25 lines
948 B
YAML
25 lines
948 B
YAML
name: On pull requests
|
|
|
|
on:
|
|
pull_request:
|
|
# You can use the merge_group event to trigger your GitHub Actions workflow when
|
|
# a pull request is added to a merge queue
|
|
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue#triggering-merge-group-checks-with-github-actions
|
|
merge_group:
|
|
|
|
concurrency:
|
|
# Cancel any running workflow for the same branch when new commits are pushed.
|
|
# We group both by ref_name (available when CI is triggered by a push to a branch/tag)
|
|
# and head_ref (available when CI is triggered by a PR).
|
|
group: "${{ github.ref_name }}-${{ github.head_ref }}"
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
linting-and-tests:
|
|
name: Linting and tests
|
|
uses: ./.github/workflows/linting-and-tests.yml
|
|
|
|
snyk-security-scan:
|
|
name: Snyk security scan
|
|
uses: ./.github/workflows/snyk-security-scan.yml
|
|
secrets: inherit
|