From 22d1ef71fce4fa2e1c2485d25ea2c20656804d05 Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Sat, 27 Jan 2024 17:20:09 +0000 Subject: [PATCH] Use the new "Prepare release" GitHub Actions workflow We now have a new reusable GitHub Actions workflow for preparing a new classic buildpack release: https://github.com/heroku/languages-github-actions/blob/main/.github/workflows/_classic-buildpack-prepare-release.yml This workflow works the same as the CNB version, except it does not need any version bump input, since we only every increment classic buildpack versions by one. Should any custom file changes be required as part of the PHP classic buildpack release process in the future, a bash command/commands can be passed via the workflow's `custom_update_command` option. GUS-W-14905318. --- .github/workflows/prepare-release.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/prepare-release.yml diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml new file mode 100644 index 000000000..c77602ea4 --- /dev/null +++ b/.github/workflows/prepare-release.yml @@ -0,0 +1,12 @@ +name: Prepare Release + +on: + workflow_dispatch: + +# Disable all GITHUB_TOKEN permissions, since the GitHub App token is used instead. +permissions: {} + +jobs: + prepare-release: + uses: heroku/languages-github-actions/.github/workflows/_classic-buildpack-prepare-release.yml@latest + secrets: inherit