Skip to content

AlexRogalskiy/github-action-git-operation

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Git Operation

GitHub Action to execute Git merge operations

GitHub marketplace

management: perfektđź‘Ś code style: prettier Mergify Status Reviewed by Hound Chat

DeepSource DeepScan grade GitHub tag (latest by date) GitHub Release Date Lines of code GitHub closed issues GitHub closed pull requests GitHub repo size GitHub last commit GitHub language count GitHub search hit counter GitHub Repository branches GitHub Repository dependents

Renovatebot Dependabot NewReleases Hits-of-Code dependencies Status dependencies Status

Codeac Coverage Status codebeat badge Total alerts Language grade: JavaScript codecov CI CircleCI GitHub Super-Linter Commitizen friendly ComVer Public workflows that use this action. Licence

Chat Open questions Open bugs

Table of contents

Description

Typescript Project Status: Active – The project has reached a stable, usable state and is being actively developed. Project created status Project updated status

Processes git operations by provided list of input parameters.

Inputs

sourceBranch

Source branch name to merge from

targetBranch

Target branch name to merge to

mode

Required Operation mode (merge-fast-forward)

Outputs

changed

Operation status

success

Git operation successfully executed

failed

Error occurred while executing git operation

Examples

- 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'

Visitor stats

GitHub page hits

GitHub stars GitHub forks GitHub watchers

Licensing

Git Operation is distributed under LGPL version 3 or later, [License]. LGPLv3 is additional permissions on top of GPLv3.

license

Authors

Git Operation is maintained by the following GitHub team-members:

  • Author

with community support please contact with us if you have some question or proposition.

Versioning

The project uses SemVer for versioning. For the versions available, see the tags on this repository.

Contribution

Contributors Display

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!

PRs Welcome Github contributors

See also the list of contributors who participated in this project.

Acknowledgement

Stargazers repo roster for @AlexRogalskiy/github-action-git-operation

Forks

Forkers repo roster for @AlexRogalskiy/github-action-git-operation

Development Support

Like Git Operation ? Consider buying me a coffee :)

Become a Patron Buy Me A Coffee KoFi


forthebadge forthebadge forthebadge