diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index 090d1f1..894426a 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -15,10 +15,8 @@ on: jobs: draft-release: - name: 'Draft release' - uses: 'google-github-actions/.github/.github/workflows/draft-release.yml@v1' # ratchet:exclude + uses: 'google-github-actions/.github/.github/workflows/draft-release.yml@v3' # ratchet:exclude with: version_strategy: '${{ github.event.inputs.version_strategy }}' - # 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 secrets: ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 73afb58..0457b00 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,10 +8,6 @@ on: jobs: release: - if: |- - ${{ startsWith(github.event.head_commit.message, 'Release: v') }} - name: 'Release' - uses: 'google-github-actions/.github/.github/workflows/release.yml@v1' # ratchet:exclude - # 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 + uses: 'google-github-actions/.github/.github/workflows/release.yml@v3' # ratchet:exclude secrets: ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}'