-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5da5a45
commit 75c97b7
Showing
1 changed file
with
3 additions
and
20 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 |
---|---|---|
|
@@ -24,18 +24,6 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
- uses: ./.github/actions/setup | ||
- name: 'Prepare git branch' | ||
run: | | ||
set +e | ||
git branch -D ${{ env.branch }} | ||
set -e | ||
git switch -c ${{ env.branch }} | ||
- name: "Configure Git" | ||
run: | | ||
git config user.name "github-actions[bot]" | ||
git config user.email "[email protected]" | ||
- name: "Generate Explanation and Prep Changelogs" | ||
id: explanation | ||
run: | | ||
|
@@ -48,20 +36,15 @@ jobs: | |
# Don't print this, because it can be very large | ||
set +x | ||
echo "text=$( echo $plan )" >> $GITHUB_OUTPUT | ||
# For debugging | ||
set -x | ||
git diff | ||
git add -A . | ||
git commit -am "Automated update" | ||
git push origin ${{ env.branch }} --force | ||
env: | ||
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- uses: peter-evans/create-pull-request@v5 | ||
with: | ||
commit-message: "Prepare Release" | ||
commit-message: "Prepare Release using 'embroider-release'" | ||
author: "github-actions[bot] <[email protected]>" | ||
labels: "internal" | ||
draft: true | ||
branch: ${{ env.branch }} | ||
base: 'main' | ||
title: ${{ env.title }} | ||
body: ${{ steps.explanation.outputs.text }} |