Skip to content

Update triggeringbranch.yaml #3

Update triggeringbranch.yaml

Update triggeringbranch.yaml #3

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 }}"