From 031ccb890ed7e4240d1072bc22a5dcd7119d7e73 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Sun, 5 Apr 2026 06:32:10 +0200 Subject: [PATCH 1/2] chore(actions): Cancel in-progress ci runs when pushing to pr --- .gitea/workflows/ci.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index c10a4a2..80b825e 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -7,6 +7,10 @@ on: - "*" pull_request: +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: true + jobs: prek: name: prek -- 2.52.0 From 8059c25767ce4b4100193a13f2cea30c7bdc1812 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Sun, 5 Apr 2026 06:34:20 +0200 Subject: [PATCH 2/2] chore(actions): Use commited to check pr commits --- .gitea/workflows/committed.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/workflows/committed.yaml diff --git a/.gitea/workflows/committed.yaml b/.gitea/workflows/committed.yaml new file mode 100644 index 0000000..cc40232 --- /dev/null +++ b/.gitea/workflows/committed.yaml @@ -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" -- 2.52.0