Skip to content

Commit

Permalink
Move concurrency limits in workflows to Deploy/Publish jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
mburumaxwell committed Mar 8, 2024
1 parent 925737c commit ab1a021
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ on:
- "!extension/README.md"
- "!docs/**"

concurrency:
group: ${{ github.workflow }}

jobs:
Build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -111,6 +108,9 @@ jobs:
runs-on: ubuntu-latest
needs: [ Build ]

concurrency:
group: ${{ github.workflow }}

steps:
- name: Download Artifact
uses: actions/download-artifact@v4
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ on:
- ".github/workflows/server.yml"
- "!docs/**"

concurrency:
group: ${{ github.workflow }}

env:
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
AZURE_RESOURCE_GROUP: ${{ secrets.AZURE_RESOURCE_GROUP }}
Expand Down Expand Up @@ -158,12 +155,14 @@ jobs:
draft: true
allowUpdates: true


Deploy:
runs-on: ubuntu-latest
needs: Build
if: ${{ github.actor != 'dependabot[bot]' && ((github.ref == 'refs/heads/main') || startsWith(github.ref, 'refs/tags')) }}

concurrency:
group: ${{ github.workflow }}

steps:
- name: Download Artifact
uses: actions/download-artifact@v4
Expand Down

0 comments on commit ab1a021

Please sign in to comment.