Improve Concurrency Detection + Transformed Name of Fork PR Builds (#764)
[SKIP]
This commit is contained in:
parent
fd5fcf92ff
commit
20e93dd5f2
10
.github/workflows/forkprbuildpack.yml
vendored
10
.github/workflows/forkprbuildpack.yml
vendored
@ -16,7 +16,7 @@ on:
|
|||||||
|
|
||||||
# if a second commit is pushed quickly after the first, cancel the first one's build
|
# if a second commit is pushed quickly after the first, cancel the first one's build
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.head_ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@ -30,7 +30,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: fork-pr-build-pack
|
environment: fork-pr-build-pack
|
||||||
env:
|
env:
|
||||||
GITHUB_HEAD_REF: ${{ github.head_ref }}
|
GITHUB_HEAD_REF: ${{ github.event.pull_request.head.repo.owner.login }}/${{ github.head_ref }}
|
||||||
TRUE_SHA: ${{ github.event.pull_request.head.sha }}
|
TRUE_SHA: ${{ github.event.pull_request.head.sha }}
|
||||||
outputs:
|
outputs:
|
||||||
client: ${{ steps.artifactNames.outputs.client }}
|
client: ${{ steps.artifactNames.outputs.client }}
|
||||||
@ -69,7 +69,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: setup
|
needs: setup
|
||||||
env:
|
env:
|
||||||
GITHUB_HEAD_REF: ${{ github.head_ref }}
|
GITHUB_HEAD_REF: ${{ github.event.pull_request.head.repo.owner.login }}/${{ github.head_ref }}
|
||||||
TRUE_SHA: ${{ github.event.pull_request.head.sha }}
|
TRUE_SHA: ${{ github.event.pull_request.head.sha }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Ref
|
- name: Checkout Ref
|
||||||
@ -112,7 +112,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: setup
|
needs: setup
|
||||||
env:
|
env:
|
||||||
GITHUB_HEAD_REF: ${{ github.head_ref }}
|
GITHUB_HEAD_REF: ${{ github.event.pull_request.head.repo.owner.login }}/${{ github.head_ref }}
|
||||||
TRUE_SHA: ${{ github.event.pull_request.head.sha }}
|
TRUE_SHA: ${{ github.event.pull_request.head.sha }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Ref
|
- name: Checkout Ref
|
||||||
@ -155,7 +155,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: setup
|
needs: setup
|
||||||
env:
|
env:
|
||||||
GITHUB_HEAD_REF: ${{ github.head_ref }}
|
GITHUB_HEAD_REF: ${{ github.event.pull_request.head.repo.owner.login }}/${{ github.head_ref }}
|
||||||
TRUE_SHA: ${{ github.event.pull_request.head.sha }}
|
TRUE_SHA: ${{ github.event.pull_request.head.sha }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Ref
|
- name: Checkout Ref
|
||||||
|
Loading…
x
Reference in New Issue
Block a user