Skip to content

Commit

Permalink
chore: Cancel old PR builds on docker and sonar-scan workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
iphydf committed Nov 22, 2023
1 parent 47e77d1 commit 3d283d0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
pull_request:
branches: [master]

# Cancel old PR builds when pushing new commits.
concurrency:
group: build-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
docker-bootstrap-node:
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/sonar-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
pull_request:
branches: [master]

# Cancel old PR builds when pushing new commits.
concurrency:
group: build-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
sonar-scan:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion other/docker/alpine-s390x/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ FROM toxchat/alpine-s390x:latest
WORKDIR /work/c-toxcore
COPY . /work/c-toxcore/

RUN .github/scripts/cmake-alpine-s390x
RUN [".github/scripts/cmake-alpine-s390x"]
2 changes: 1 addition & 1 deletion other/docker/freebsd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ FROM toxchat/freebsd:latest
WORKDIR /work/c-toxcore
COPY . /work/c-toxcore/

RUN .github/scripts/cmake-freebsd
RUN [".github/scripts/cmake-freebsd"]

0 comments on commit 3d283d0

Please sign in to comment.