Skip to content

Commit ca48370

Browse files
authored
ci(mirror): fix concurrency key and pass secrets (#301)
* fix concurency * secrets: inherit
1 parent ca6d6cc commit ca48370

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/mirror.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ run-name: >-
2727
concurrency:
2828
group: >-
2929
${{ github.workflow }}-${{ github.event_name }}-${{
30-
github.event_name == 'push' && github.ref_name ||
3130
github.event_name == 'delete' && github.event.ref ||
31+
inputs.released-tag != null && inputs.released-tag ||
32+
github.event_name == 'push' && github.ref_name ||
3233
''
3334
}}
3435
cancel-in-progress: true

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ jobs:
7777
uses: ./.github/workflows/mirror.yml
7878
with:
7979
released-tag: ${{ matrix.released-tag }}
80+
secrets: inherit
8081

8182
post:
8283
name: Post Action

0 commit comments

Comments
 (0)