File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed
Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ dependents :
2+ - " bot-boilerplate"
3+
4+ files :
5+ - " .gitignore"
6+
7+ # Do not sync the workflow files
8+ - " !.github/workflows/template-sync.yml"
9+ - " !.github/template-sync.yml"
10+
11+ # Do not sync dependabot config
12+ - " !.github/dependabot.yml"
Original file line number Diff line number Diff line change 1+ name : Template sync
2+
3+ on :
4+ workflow_dispatch :
5+ workflow_run : # setup this workflow as a dependency of others
6+ workflows : [ test ] # don't sync template unless tests and other important workflows have passed
7+
8+ jobs :
9+ template-sync :
10+ timeout-minutes : 20
11+
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v2
16+ - uses : ahmadnassri/action-workflow-run-wait@v1 # wait for workflow_run to be successful
17+ - uses : ahmadnassri/action-workflow-queue@v1 # avoid conflicts, by running this template one at a time
18+ - uses : ahmadnassri/action-template-repository-sync@v1
19+ with :
20+ github-token : ${{ secrets.GH_TOKEN }}
21+ dry-run : true # Dry run for now
You can’t perform that action at this time.
0 commit comments