8000 GitHub - LasaleFamine/action-ff-merge: GitHub Action for merging branches with FF
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

LasaleFamine/action-ff-merge

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

Repository files navigation

action-ff-merge

GitHub Action to forward merge a branch to another

How to use

name: 'Merge to Stage'
on:
  push:
    branches:
      - master

jobs:
  merge:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
        with:
          # Fetch the whole history to prevent unrelated history errors
          fetch-depth: '0'
          # The branch you want to checkout (usually equal to `from`)
          ref: 'master'
      - name: Merge Fast Forward
        uses: LasaleFamine/action-ff-merge@v2
        with:
          # Branch to merge
          from: master
          # Branch that will be updated
          to: stage
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

License

MIT © LasaleFamine

About

GitHub Action for merging branches with FF

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0