Add committed checks and cancel running workflows on pr #12

Merged
Dreaded_X merged 2 commits from chore/workflow_updates into main 2026-04-05 06:20:45 +00:00
2 changed files with 23 additions and 0 deletions
+4
View File
@@ -7,6 +7,10 @@ on:
- "*"
pull_request:
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
prek:
name: prek
+19
View File
@@ -0,0 +1,19 @@
name: Committed
on:
pull_request:
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
committed:
name: committed
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: crate-ci/committed@master
with:
commits: "origin/${{ gitea.base_ref }}..HEAD"