Skip to content

Commit 3b18d08

Browse files
actuarysailorCopilotpre-commit-ci[bot]
authored
chore(ci): Fix release workflow (#3)
* chore(ci): Fix release workflow * Update .github/workflows/release.yml Co-authored-by: Copilot <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent d70be2c commit 3b18d08

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- main
88
- master
99
paths:
10+
- .github/workflows/release.yml
1011
- '**/*.py'
1112
- '**/*.sh'
1213
- Dockerfile*
@@ -41,4 +42,8 @@ jobs:
4142
extra_plugins: |
4243
@semantic-release/[email protected]
4344
@semantic-release/[email protected]
44-
# No custom env needed; uses default GITHUB_TOKEN
45+
env:
46+
# Custom token for triggering Docker image build GH Workflow on release
47+
# created by cycjimmy/semantic-release-action. Events created by
48+
# workflows with default GITHUB_TOKEN not trigger other GH Workflow.
49+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)