diff options
| author | bors <bors@rust-lang.org> | 2023-06-26 10:15:16 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-26 10:15:16 +0000 |
| commit | 27e10c5292eee22abef69aed7144f80bdea00603 (patch) | |
| tree | 458da839686b520435e30716c7652dfe7adacf41 /src/ci/github-actions | |
| parent | 25b5af1b3a0b9e2c0c57b223b2d0e3e203869b2c (diff) | |
| parent | 5122e88b35dbf4e959d6ca2cfca4c5ed0a105203 (diff) | |
| download | rust-27e10c5292eee22abef69aed7144f80bdea00603.tar.gz rust-27e10c5292eee22abef69aed7144f80bdea00603.zip | |
Auto merge of #113049 - matthiaskrgr:rollup-41wo5w8, r=matthiaskrgr
Rollup of 6 pull requests Successful merges: - #111326 (Add support for NetBSD/aarch64-be (big-endian arm64).) - #112559 (Add esp-idf missing targets) - #112840 (doc: loongarch: Update maintainers) - #112955 (CI: cancel in-progress workflow runs after a push) - #112979 (Rewrite most diagnostics as translatable within resolve/imports) - #113034 (Switch some more Steps to `builder.msg`) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'src/ci/github-actions')
| -rw-r--r-- | src/ci/github-actions/ci.yml | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/src/ci/github-actions/ci.yml b/src/ci/github-actions/ci.yml index a9e42e4a0a0..8907d643182 100644 --- a/src/ci/github-actions/ci.yml +++ b/src/ci/github-actions/ci.yml @@ -147,13 +147,6 @@ x--expand-yaml-anchors--remove: run: src/ci/scripts/verify-channel.sh <<: *step - - name: configure GitHub Actions to kill the build when outdated - uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master - with: - github_token: "${{ secrets.github_token }}" - if: success() && !env.SKIP_JOB && github.ref != 'refs/heads/try' && github.ref != 'refs/heads/try-perf' - <<: *step - - name: collect CPU statistics run: src/ci/scripts/collect-cpu-stats.sh <<: *step @@ -305,10 +298,14 @@ defaults: # shell is PowerShell.) shell: bash +concurrency: + # For a given workflow, if we push to the same PR, cancel all previous builds on that PR. + # If the push is not attached to a PR, we will cancel all builds related to the same commit SHA. + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: pr: - permissions: - actions: write # for rust-lang/simpleinfra/github-actions/cancel-outdated-builds <<: *base-ci-job name: PR - ${{ matrix.name }} env: @@ -331,8 +328,6 @@ jobs: <<: *job-linux-16c auto: - permissions: - actions: write # for rust-lang/simpleinfra/github-actions/cancel-outdated-builds <<: *base-ci-job name: auto - ${{ matrix.name }} env: @@ -734,8 +729,6 @@ jobs: <<: *job-windows-8c try: - permissions: - actions: write # for rust-lang/simpleinfra/github-actions/cancel-outdated-builds <<: *base-ci-job name: try - ${{ matrix.name }} env: |
