Update triggeringbranch.yaml #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Branch Pattern Example | |
on: | |
push: | |
branches: | |
- main # Trigger on pushes to the 'main' branch | |
- feature # Trigger on pushes to 'feature ' | |
jobs: | |
branch-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Display branch info | |
run: echo "Branch:${{ github.ref_name }}" |