Skip to content

Deny not updated branch

Actions
A github action to fail a PR workflow if the branch is not up to date with the traget branch
v1.1.0
Latest
Star (5)

build-test

deny-not-updated-branch

A github action fails a workflow if the branch is not up to date with the target branch. You must add a branch protection rule of Require branches to be up to date before merging.

How to use

Add to your workflow the following contents:

name: workflow

on:
  push:
    branches: [ '**' ]
  pull_request:
    branches: [ '**' ]

jobs:
  full_ci:
    runs-on: ubuntu-18.04

    steps:
      - uses: guyarb/[email protected]

Development of this action

  1. Fork this repo.
  2. Create a branch with your feature/bugfix.
  3. Open a PR to me.

Issues

Please open issues for any bug or suggestion you have.

Deny not updated branch is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

A github action to fail a PR workflow if the branch is not up to date with the traget branch
v1.1.0
Latest

Deny not updated branch is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.