Skip to content

Commit a2d54a2

Browse files
authored
fix: publish and release process (#438)
<!-- Thank you for proposing a pull request! Please note that SOME TESTS WILL LIKELY FAIL due to how GitHub exposes secrets in Pull Requests from forks. Someone from the team will review your Pull Request and respond. Please describe your change and any implementation details below. -->
1 parent 0497f42 commit a2d54a2

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: 'Publish immutable action version'
22

33
on:
4+
workflow_dispatch:
45
release:
56
types:
67
- 'published'

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88

99
jobs:
1010
release:
11-
if: "startsWith(github.event.head_commit.message, 'Release: v')"
11+
if: |-
12+
startsWith(github.event.head_commit.message, 'Release: v')
1213
name: 'Release'
13-
uses: 'google-github-actions/.github/.github/workflows/release.yml@v0'
14+
uses: 'google-github-actions/.github/.github/workflows/release.yml@v1' # ratchet:exclude
15+
# secrets must be explicitly passed to reusable workflows https://docs.github.com/en/enterprise-cloud@latest/actions/using-workflows/reusing-workflows#using-inputs-and-secrets-in-a-reusable-workflow
16+
secrets:
17+
ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}'

0 commit comments

Comments
 (0)