GitHub Actions - Skipping workflows on a push to the main branch

preview_player
Показать описание
Did you know that you can use keywords to skip a GitHub Action workflow, so that it doesn't trigger? This video will show you how to do that when you push a commit to your main branch (or any branch, really).

I'm trying something new, in trying to create shorter content. This video is the first in several that will be about skipping workflows, with the idea to try and keep the videos to 6-8 minutes in length. I'd love your feedback on whether you prefer these more bite-sized videos. Drop me a comment below.

Docs:

Find Me:
Рекомендации по теме
Комментарии
Автор

Hi For triggering git actions for only a specific branch, The workflow file should be in that particular branch or can it be in main branch?

deekshithnityo
Автор

Is there a way to set a environment variable from a commit message similar to this. For example a commit message like this sets an environment variable to deploy to test: "This is my commit message to [deployto:Test] envirnment" ?

mharris