GitHub Action
Git Merge Operation
GitHub Action to execute Git merge operations
- Description
- Inputs
- Outputs
- Examples
- Visitor stats
- Licensing
- Authors
- Versioning
- Contribution
- Acknowledgement
- Forks
- Development Support
Processes git operations by provided list of input parameters.
Source branch name to merge from
Target branch name to merge to
Required Operation mode (merge-fast-forward)
Operation status
Git operation successfully executed
Error occurred while executing git operation
- name: Git merge operation
uses: alexrogalskiy/github-action-git-operation@master
with:
mode: 'merge-fast-forward'
sourceBranch: 'feature'
targetBranch: 'master'
name: 'Merge branch'
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
merge:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: '0'
ref: 'master'
- name: Git merge operation
uses: alexrogalskiy/github-action-git-operation@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
mode: 'merge-fast-forward'
sourceBranch: 'feature'
targetBranch: 'master'
Running locally:
npm run start:action --action github-action-git-operation --mode 'merge-fast-forward' --sourceBranch 'feature' --targetBranch 'master'
Git Operation is distributed under LGPL version 3 or later, [License]. LGPLv3 is additional permissions on top of GPLv3.
Git Operation is maintained by the following GitHub team-members:
with community support please contact with us if you have some question or proposition.
The project uses SemVer for versioning. For the versions available, see the tags on this repository.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us (emoji key).
This project follows the all-contributors specification. Contributions of any kind are welcome!
See also the list of contributors who participated in this project.
Like Git Operation ? Consider buying me a coffee :)