name: Gitflow Sync
on:
  # To create pull requests.
  push:
  # To merge pull requests if not possible during the push run. Remove if `auto-merge` is `false`.
  pull_request_review:
  check_run:
    types: [completed]

permissions:
  contents: read
  pull-requests: write

jobs:
  build:
    name: Gitflow
    runs-on: ubuntu-latest
    steps:
      - uses: Logerfo/gitflow-action@0.0.5
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }} # The `GITHUB_TOKEN` secret.
          dev: develop
          master: master
          release: release
