Post Honeycomb release marker on release #4
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release Buildpack | |
| on: | |
| # Auto-trigger when the "Prepare release" PR (created by the | |
| # _classic-buildpack-prepare-release.yml workflow) is merged. | |
| pull_request: | |
| branches: | |
| - main | |
| types: | |
| - closed | |
| workflow_dispatch: | |
| permissions: | |
| id-token: write | |
| contents: write | |
| jobs: | |
| release: | |
| name: Release | |
| # On `pull_request`, only run for the merged auto-generated | |
| # "Prepare release" PR (branch name set by | |
| # _classic-buildpack-prepare-release.yml). Manual dispatches always run. | |
| if: >- | |
| github.event_name == 'workflow_dispatch' || | |
| (github.event.pull_request.merged == true && | |
| github.event.pull_request.head.repo.full_name == github.repository && | |
| github.event.pull_request.head.ref == 'prepare-release' && | |
| github.event.pull_request.user.login == 'heroku-linguist[bot]') | |
| uses: heroku/languages-github-actions/.github/workflows/_classic-buildpack-publish.yml@latest | |
| with: | |
| buildpack_id: "heroku/java" | |
| app_id: ${{ vars.LINGUIST_GH_APP_ID }} | |
| secrets: | |
| app_private_key: ${{ secrets.LINGUIST_GH_PRIVATE_KEY }} | |
| slack_webhook_url: ${{ secrets.BUILDPACK_RELEASE_FAILURE_WEBHOOK_URL }} | |
| honeycomb_api_key: ${{ secrets.HONEYCOMB_API_KEY }} |