Skip to content

Commit

Permalink
Use stable workflow release (#611)
Browse files Browse the repository at this point in the history
* Use stable workflow release

The previous workflow reference of `@main` was the  unstable development version of our release automation. The `@latest` ref points to the most recent stable version of the workflows.

* Use stable workflow release

The previous workflow reference of `@main` was the  unstable development version of our release automation. The `@latest` ref points to the most recent stable version of the workflows.
  • Loading branch information
colincasey authored Aug 8, 2023
1 parent f8a38b5 commit 0aa417f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,12 @@ 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:
app_id: ${{ vars.LINGUIST_GH_APP_ID }}
bump: ${{ inputs.bump }}
declarations_starting_version: 1.0.0
app_id: ${{ vars.LINGUIST_GH_APP_ID }}
secrets:
app_private_key: ${{ secrets.LINGUIST_GH_PRIVATE_KEY }}
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 0aa417f

Please sign in to comment.