diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 1ce9946..76f33b5 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -13,15 +13,11 @@ on: - minor - patch -permissions: - contents: write - pull-requests: write - jobs: prepare-release: - uses: heroku/languages-github-actions/.github/workflows/_buildpacks-prepare-release.yml@main + uses: heroku/languages-github-actions/.github/workflows/_buildpacks-prepare-release.yml@latest with: - bump: ${{ inputs.bump }} app_id: ${{ vars.LINGUIST_GH_APP_ID }} + bump: ${{ inputs.bump }} secrets: app_private_key: ${{ secrets.LINGUIST_GH_PRIVATE_KEY }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b4bd54a..82b8a2a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,13 +2,19 @@ name: Release Buildpacks on: workflow_dispatch: + inputs: + dry_run: + description: Execute the release workflow but skip any steps that publish (for testing purposes) + type: boolean + default: false jobs: release: name: Release - uses: heroku/languages-github-actions/.github/workflows/_buildpacks-release.yml@main + uses: heroku/languages-github-actions/.github/workflows/_buildpacks-release.yml@latest with: app_id: ${{ vars.LINGUIST_GH_APP_ID }} + dry_run: ${{ inputs.dry_run }} secrets: app_private_key: ${{ secrets.LINGUIST_GH_PRIVATE_KEY }} cnb_registry_token: ${{ secrets.CNB_REGISTRY_RELEASE_BOT_GITHUB_TOKEN }}