The requirement is to copy some files from an external source to a new feature branch when the branch is created. However, the files need not be copied on dev or test or any other branch creations. The git actions yaml i am using looks like this
on:
create:
branches:
- 'feature/**'
jobs:
fetch-and-commit:
runs-on: ubuntu-latest
.
.
.
but this is also triggering the actions workflow on dev or test branch creations that doesn’t start with ‘feature’