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 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"