Skip to content

Commit

Permalink
Add envs and groups to deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
nycholas committed Oct 29, 2024
1 parent f5cad86 commit 60d65a0
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/codeql_analysis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: "CodeQL"

concurrency:
group: codeql
cancel-in-progress: true

on:
push:
branches: ["master"]
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/on_update.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: On update

concurrency:
group: development
cancel-in-progress: true

on:
push:
branches-ignore:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pre_release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Build and publish pre release

concurrency: staging

on:
push:
branches:
Expand Down Expand Up @@ -177,6 +179,7 @@ jobs:
name: Publish to TestPyPI
needs: [build, build-wheels]
runs-on: ${{ matrix.platform }}
environment: staging
permissions:
contents: write
id-token: write
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Build and publish release

concurrency: production

on:
push:
tags:
Expand Down Expand Up @@ -77,6 +79,7 @@ jobs:
name: Publish to PyPI and generate GitHub release ${{ github.ref_name }}
needs: [build, build-wheels]
runs-on: ${{ matrix.platform }}
environment: production
permissions:
contents: write
id-token: write
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Tests [Docker]

concurrency:
group: testing
cancel-in-progress: true

on:
push:
branches:
Expand Down

0 comments on commit 60d65a0

Please sign in to comment.