Improve extension CI concurrency (#43935)
While this does work for PRs and such, it does not work with main... Hence, moving the token a few chars to the right to fix this issue. Release Notes: - N/A
This commit is contained in:
@@ -36,9 +36,7 @@ jobs:
|
||||
call_bump_version:
|
||||
needs:
|
||||
- determine_bump_type
|
||||
if: |-
|
||||
(github.event.action == 'labeled' && needs.determine_bump_type.outputs.bump_type != 'patch') ||
|
||||
github.event_name == 'push'
|
||||
if: github.event.action != 'labeled' || needs.determine_bump_type.outputs.bump_type != 'patch'
|
||||
uses: zed-industries/zed/.github/workflows/extension_bump.yml@main
|
||||
secrets:
|
||||
app-id: ${{ secrets.ZED_ZIPPY_APP_ID }}
|
||||
@@ -47,5 +45,5 @@ jobs:
|
||||
bump-type: ${{ needs.determine_bump_type.outputs.bump_type }}
|
||||
force-bump: true
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.ref_name == 'main' && github.sha || 'anyshalabels' }}
|
||||
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.ref_name == 'main' && github.sha || 'anysha' }}labels
|
||||
cancel-in-progress: true
|
||||
|
||||
@@ -9,5 +9,5 @@ jobs:
|
||||
call_extension_tests:
|
||||
uses: zed-industries/zed/.github/workflows/extension_tests.yml@main
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.ref_name == 'main' && github.sha || 'anyshapr' }}
|
||||
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.ref_name == 'main' && github.sha || 'anysha' }}pr
|
||||
cancel-in-progress: true
|
||||
|
||||
Reference in New Issue
Block a user