Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

GitHub Actions: how to target all branches

on:
  push:
    branches:    
      - '*'         # matches every branch that doesn't contain a '/'
      - '*/*'       # matches every branch containing a single '/'
      - '**'        # matches every branch
      - '!master'   # excludes master
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #GitHub #target #branches
ADD COMMENT
Topic
Name
1+8 =