mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-19 13:19:41 +02:00
chore: cancel running pull request jobs on new push (#4339)
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
This commit is contained in:
parent
655122c390
commit
d36041fa75
3 changed files with 19 additions and 5 deletions
3
.github/workflows/codeql.yml
vendored
3
.github/workflows/codeql.yml
vendored
|
@ -14,10 +14,9 @@ name: "CodeQL"
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "mealie-next" ]
|
branches: [ "mealie-next" ]
|
||||||
pull_request:
|
|
||||||
branches: [ "mealie-next" ]
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '36 9 * * 3'
|
- cron: '36 9 * * 3'
|
||||||
|
workflow_call:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
analyze:
|
analyze:
|
||||||
|
|
5
.github/workflows/e2e.yml
vendored
5
.github/workflows/e2e.yml
vendored
|
@ -1,8 +1,7 @@
|
||||||
name: E2E Tests
|
name: E2E Tests
|
||||||
on:
|
on:
|
||||||
pull_request:
|
workflow_call:
|
||||||
branches:
|
|
||||||
- mealie-next
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
|
|
16
.github/workflows/pull-requests.yml
vendored
16
.github/workflows/pull-requests.yml
vendored
|
@ -5,6 +5,10 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- mealie-next
|
- mealie-next
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pull-request-lint:
|
pull-request-lint:
|
||||||
name: "Lint PR"
|
name: "Lint PR"
|
||||||
|
@ -21,3 +25,15 @@ jobs:
|
||||||
container-scanning:
|
container-scanning:
|
||||||
name: "Trivy Container Scanning"
|
name: "Trivy Container Scanning"
|
||||||
uses: ./.github/workflows/partial-trivy-container-scanning.yml
|
uses: ./.github/workflows/partial-trivy-container-scanning.yml
|
||||||
|
|
||||||
|
end-to-end:
|
||||||
|
name: "End-to-End Tests"
|
||||||
|
uses: ./.github/workflows/e2e.yml
|
||||||
|
|
||||||
|
code-ql:
|
||||||
|
name: "CodeQL"
|
||||||
|
uses: ./.github/workflows/codeql.yml
|
||||||
|
permissions:
|
||||||
|
actions: read
|
||||||
|
contents: read
|
||||||
|
security-events: write
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue