-
Notifications
You must be signed in to change notification settings - Fork 0
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 #22 from Zeeker-Dev-Team/dev
merge: Sync works
- Loading branch information
Showing
1 changed file
with
10 additions
and
9 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 |
---|---|---|
|
@@ -18,20 +18,21 @@ jobs: | |
git config user.name "GitHub Actions" | ||
git config user.email "[email protected]" | ||
- name: Create new branch | ||
- name: Set branch name | ||
run: | | ||
BRANCH_NAME="cba-branch-${{ github.event.issue.number }}-${{ github.run_id }}" | ||
git checkout -b $BRANCH_NAME | ||
echo "New branch created: $BRANCH_NAME" | ||
- name: Push new branch | ||
run: | | ||
git push origin $BRANCH_NAME | ||
- name: Create new branch | ||
uses: peterjgrainger/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
branch: 'release-notes' | ||
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v6 | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
title: 'PR From Issue' | ||
body: 'closes #${{ github.event.issue.number }}' | ||
title: 'Merge branch $BRANCH_NAME into main' | ||
body: 'This PR is created from a comment on issue #${{ github.event.issue.number }}' | ||
branch: $BRANCH_NAME | ||
base: main |