File tree Expand file tree Collapse file tree 3 files changed +27
-8
lines changed Expand file tree Collapse file tree 3 files changed +27
-8
lines changed Original file line number Diff line number Diff line change 11name : test-clang-format
22
3- on :
4- pull_request :
5- branches :
6- - master
3+ on : ["pull_request", "push"]
74
85jobs :
96 build :
Original file line number Diff line number Diff line change 11---
22name : macOS build and test AWS Encryption SDK for C
33
4- on :
5- pull_request :
6- branches :
7- - master
4+ on : ["pull_request", "push"]
85
96
107jobs :
Original file line number Diff line number Diff line change 1+ name : Repo Sync
2+
3+ on :
4+ workflow_dispatch : # allows triggering this manually through the Actions UI
5+
6+ jobs :
7+ repo-sync :
8+ name : Repo Sync
9+ environment : repo-sync
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+ - uses : repo-sync/github-sync@v2
14+ name : Sync repo to branch
15+ with :
16+ source_repo : ${{ secrets.SOURCE_REPO }}
17+ source_branch : master
18+ destination_branch : ${{ secrets.INTERMEDIATE_BRANCH }}
19+ github_token : ${{ secrets.GITHUB_TOKEN }}
20+ - uses : repo-sync/pull-request@v2
21+ name : Create pull request
22+ with :
23+ source_branch : ${{ secrets.INTERMEDIATE_BRANCH }}
24+ destination_branch : master
25+ github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments