release: only run one release action at a time (#231)

This commit is contained in:
Cole Helbling 2023-02-02 10:39:45 -08:00 committed by GitHub
parent 3d1b9f2644
commit c1944c9c5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View file

@ -9,6 +9,7 @@ on:
jobs:
release:
concurrency: release
runs-on: ubuntu-latest
permissions:
id-token: write # In order to request a JWT for AWS auth

View file

@ -10,6 +10,7 @@ on:
jobs:
release:
concurrency: release
# Only intra-repo PRs are allowed to have PR artifacts uploaded
if: github.event.pull_request.head.repo.full_name == 'DeterminateSystems/nix-installer' && contains(github.event.pull_request.labels.*.name, 'upload to s3')
runs-on: ubuntu-latest

View file

@ -7,6 +7,7 @@ on:
jobs:
release:
concurrency: release
runs-on: ubuntu-latest
permissions:
contents: write # In order to upload artifacts to GitHub releases