hi, every one, I have question currely I am work w...
# github-actions
s
hi, every one, I have question currely I am work with enterprise github, I want have a workflow that runs when any thing repo tha starting with name RPA
🙌 1
g
@Dan Miller (Cloud Posse)
d
are you taking about a workflow in a specific repo that runs for any branch name starting with RPA?
or are you taking about workflows for all repos with names starting with RPA in an organization ?
are you taking about a workflow in a specific repo that runs for any branch name starting with RPA?
Copy code
name: example workflow
on:
  pull_request:
    branches: 
      - 'rpa-**'
    types: [opened, synchronize, reopened, closed, labeled, unlabeled]
for example
or are you taking about workflows for all repos with names starting with RPA in an organization ?
you should create a reusable workflow for the organization, but there is no way to automatically add these workflows to every repo starting with RPA. You would need to copy the workflow call into each. Perhaps you can automate that with
gh
cli more on reusable workflows: https://docs.github.com/en/actions/using-workflows/reusing-workflows
e