Skip to content
git-branch

GitHub Action

git-branch-behind-main

v1.0.0 Latest version

git-branch-behind-main

git-branch

git-branch-behind-main

Check whether the current branch is behind main

Installation

Copy and paste the following snippet into your .yml file.

              

- name: git-branch-behind-main

uses: spencercjh/git-branch-behind-main@v1.0.0

Learn more about this action in spencercjh/git-branch-behind-main

Choose a version

git-branch-behind-main

Check whether the current branch is behind main.

Just add the following step to your workflow:

- name: git-branch-behind-main
  uses: spencercjh/git-branch-behind-main@v1.0.0

TBD

  1. Now only the Chinese error message is available, which should be configurable