-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #525 from ember-codemods/update-release-plan
update release-plan
- Loading branch information
Showing
4 changed files
with
320 additions
and
1,127 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ on: | |
- main | ||
- master | ||
pull_request: | ||
types: | ||
types: | ||
- labeled | ||
|
||
concurrency: | ||
|
@@ -34,6 +34,9 @@ jobs: | |
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
needs: check-plan | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
outputs: | ||
explanation: ${{ steps.explanation.outputs.text }} | ||
# only run on push event if plan wasn't updated (don't create a release plan when we're releasing) | ||
|
@@ -60,18 +63,17 @@ jobs: | |
run: | | ||
set -x | ||
pnpm release-plan prepare --single-package=ember-angle-brackets-codemod | ||
pnpm release-plan prepare | ||
echo 'text<<EOF' >> $GITHUB_OUTPUT | ||
jq .description .release-plan.json -r >> $GITHUB_OUTPUT | ||
echo 'EOF' >> $GITHUB_OUTPUT | ||
env: | ||
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- uses: peter-evans/create-pull-request@v5 | ||
- uses: peter-evans/create-pull-request@v6 | ||
with: | ||
commit-message: "Prepare Release using 'release-plan'" | ||
author: "github-actions[bot] <[email protected]>" | ||
labels: "internal" | ||
branch: release-preview | ||
title: Prepare Release | ||
|
@@ -80,4 +82,4 @@ jobs: | |
----------------------------------------- | ||
${{ steps.explanation.outputs.text }} | ||
${{ steps.explanation.outputs.text }} |
This file contains 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
This file contains 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
Oops, something went wrong.