Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge: Sync works #22

Merged
merged 8 commits into from
Aug 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading