Skip to content

GitHub Action to create a pull request and merge automatically

License

Notifications You must be signed in to change notification settings

yyoshiki41/auto-merge-action

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
 
 
 
 
 
 
 
 

Repository files navigation

auto-merge-action

GitHub Action to create a pull request and merge automatically

pr

Usage

Put a workflow file in your .github/workflows directory.

name: "[chore] Merge pull request from staging to develop"

on:
  push:
    branches:
      - "staging"

permissions:
  contents: write
  pull-requests: write

jobs:
  merge:
    name: "[chore] Merge pull request from staging to develop"
    runs-on: ubuntu-latest
    timeout-minutes: 8
    steps:
      - name: Checkout
        uses: actions/checkout@v3
        with:
          fetch-depth: 0

      - name: Run auto-merge-action
        id: run-auto-merge-action
        uses: yyoshiki41/auto-merge-action@v1
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          base: develop
          head: staging

Resources

About

GitHub Action to create a pull request and merge automatically

Resources

License

Stars

Watchers

Forks

Packages

No packages published