1
0
mirror of synced 2025-12-30 03:01:36 -05:00

Unique Docker workflows concurrency group (#21312)

* Unique concurrency group for Docker deploy

* Unique concurrency group for Docker deploy
This commit is contained in:
Robert Sese
2021-09-03 14:59:01 -05:00
committed by GitHub
parent 0f68d54bba
commit 31fa5d14f9
2 changed files with 6 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
concurrency:
group: staging_${{ github.head_ref }}
group: staging_docker_${{ github.head_ref }}
cancel-in-progress: true
steps:
- name: Check out repo
@@ -49,7 +49,7 @@ jobs:
# When there are changes to files we can't accept
- name: 'Fail when not allowed files are changed'
if: ${{ steps.filter.outputs.notAllowed }}
if: ${{ steps.filter.outputs.notAllowed == 'true' }}
run: exit 1
- name: Create an archive

View File

@@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
concurrency:
group: staging_${{ github.event.workflow_run.head_branch }}
group: staging_docker_${{ github.event.workflow_run.head_branch }}
cancel-in-progress: true
outputs:
source_blob_url: ${{ steps.build-source.outputs.download_url }}
@@ -149,8 +149,8 @@ jobs:
const esm = require('esm')
require = esm({})
const { default: createApp } = require('./script/create-app.js')
const { default: parsePrUrl } = require('./script/parse-pr-url.js')
const { default: createApp } = require('./script/deployment/create-app.js')
const { default: parsePrUrl } = require('./script/deployment/parse-pr-url.js')
// This helper uses the `GITHUB_TOKEN` implicitly!
// We're using our usual version of Octokit vs. the provided `github`
@@ -209,7 +209,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
concurrency:
group: staging_${{ github.event.workflow_run.head_branch }}
group: staging_docker_${{ github.event.workflow_run.head_branch }}
cancel-in-progress: true
steps:
- name: Check out repo's default branch