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

ThejasNU/Add merge workflow #69

Merged
merged 3 commits into from
Feb 10, 2025
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
23 changes: 23 additions & 0 deletions .github/workflows/merge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Update dev branch
run-name: Merge master branch into dev/0.2.0_release branch
on:
pull_request:
branches: [master]
types: [closed]
jobs:
merge-branch:
if: github.event.pull_request.merged == true
timeout-minutes: 2
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
repository-projects: write
steps:
- uses: actions/checkout@v2
- uses: everlytic/branch-merge@f1304f3c45db1c13f5d14e8ce99e23e7fabdbe79
with:
github_token: ${{ github.token }}
source_ref: ${{ github.ref }}
target_branch: 'dev/0.2.0_release'
commit_message_template: '[Automated] Merge master into {target_branch}'