Skip to content

Commit

Permalink
add merge workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ThejasNU committed Feb 3, 2025
1 parent 1b61def commit e87f303
Showing 1 changed file with 23 additions and 0 deletions.
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/[email protected]

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Update dev branch' step
Uses Step
uses 'everlytic/branch-merge' with ref '1.1.2', not a pinned commit hash
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}'

0 comments on commit e87f303

Please sign in to comment.