Skip to content

Commit

Permalink
Use stable workflow release (#135)
Browse files Browse the repository at this point in the history
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 committed Aug 8, 2023
1 parent 7027b6d commit ec3d4c2
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,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 }}
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 ec3d4c2

Please sign in to comment.