Skip to content

Commit

Permalink
Merge pull request #22 from Zeeker-Dev-Team/dev
Browse files Browse the repository at this point in the history
merge: Sync works
  • Loading branch information
CycleBai authored Aug 3, 2024
2 parents f4eb29d + cdef0ea commit a6b5c4e
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/commentcommand.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a6b5c4e

Please sign in to comment.