File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Release Buildpack
2+
3+ on :
4+ # Auto-trigger when the "Prepare release" PR (created by the
5+ # _classic-buildpack-prepare-release.yml workflow) is merged.
6+ pull_request :
7+ branches :
8+ - main
9+ types :
10+ - closed
11+ workflow_dispatch :
12+
13+ permissions :
14+ id-token : write
15+ contents : write
16+
17+ jobs :
18+ release :
19+ name : Release
20+ # On `pull_request`, only run for the merged auto-generated
21+ # "Prepare release" PR (branch name set by
22+ # _classic-buildpack-prepare-release.yml). Manual dispatches always run.
23+ if : >-
24+ github.event_name == 'workflow_dispatch' ||
25+ (github.event.pull_request.merged == true &&
26+ github.event.pull_request.head.repo.full_name == github.repository &&
27+ github.event.pull_request.head.ref == 'prepare-release' &&
28+ github.event.pull_request.user.login == 'heroku-linguist[bot]')
29+ uses : heroku/languages-github-actions/.github/workflows/_classic-buildpack-publish.yml@latest
30+ with :
31+ buildpack_id : " heroku/clojure"
You can’t perform that action at this time.
0 commit comments