diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 12c8d8a39..2bcc2cb3a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,13 +9,11 @@ on: paths: - '**/*.py' - '**/*.sh' - - Dockerfile + - Dockerfile* - .pre-commit-hooks.yaml # Ignore paths - '!tests/**' -permissions: - contents: read jobs: release: @@ -43,8 +41,4 @@ jobs: extra_plugins: | @semantic-release/changelog@6.0.0 @semantic-release/git@10.0.0 - env: - # Custom token for triggering Docker image build GH Workflow on release - # created by cycjimmy/semantic-release-action. Events created by - # workflows with default GITHUB_TOKEN not trigger other GH Workflow. - GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }} + # No custom env needed; uses default GITHUB_TOKEN