Closed nosisky closed 2 years ago
This can be achieved in a couple of ways:
on.pull_request.branches
trigger: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpull_requestpull_request_targetbranchesbranches-ignoreif
-conditions on the step block level. https://github.community/t/run-step-on-if-branch-tag-is/16965In your example, it would look like this:
- uses: stefanzweifel/git-auto-commit-action@v4
if: contains(github.ref, "master")
with:
commit_message: commit message
tagging_message: module version
commit_user_name: Developer
commit_user_email: developer@dev.com
I would like to skip tagging for a specific branch, I don't know If there is an existing implementation for that. At the moment I have:
I would want something like: