Skip to content

Commit

Permalink
Problem: no cancel-in-progress in ci flow (#1088)
Browse files Browse the repository at this point in the history
* Problem: no cancel-in-progress in ci flow

* fix
  • Loading branch information
mmsqe authored Oct 15, 2024
1 parent 9ef66d1 commit 69a8c50
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 7 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
name: govuln

on:
pull_request:
merge_group:
push:
branches:
- master
- release/**
pull_request:
merge_group:
push:
branches:
- master
- release/**

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
check:

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
issue_comment:
types: [created, edited]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
member:
name: Check whether it is triggered by team members with issue_comment or push or pull_request
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/buildwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
branches:
- master
- release/**

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: Build For Windows
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
- master
- release/**

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
codecov:
name: codecov
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ on:
- "**.go"
merge_group:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
analyze:
name: Analyze
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/gosec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
- master
- release/**

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
Gosec:
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
branches:
- master
- release/**

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
golangci:
name: golangci-lint
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
env:
NIXPKGS_ALLOW_INSECURE: 1

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
lint:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/test_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def assert_commission(adr, expected):
for i in range(2):
cluster.migrate_keystore(i=i)
upgrade(cluster, "v4.3.0", target_height)

cli = cluster.cosmos_cli()
target_height = cluster.block_height() + 15
gov_param = cli.query_params("gov")
upgrade(cluster, "v5.0", target_height, broadcast_mode="sync")
Expand Down

0 comments on commit 69a8c50

Please sign in to comment.