@ boilerz / action-version
Github操作,相应地检查更改和版本
用法
参见
基本的:
build :
if : " !contains(github.event.head_commit.message, ':bookmark:') " # Skip build for version commits (only use when push are triggered by a bot PAT)
runs-on : ubuntu-latest
steps :
- uses : actions/checkout@v2
with :
token : ${{ secrets.GH_BOT_TOKEN }} # Bot token if branch is protected