forked from aws/aws-dynamodb-encryption-java
-
Notifications
You must be signed in to change notification settings - Fork 0
25 lines (23 loc) · 737 Bytes
/
repo-sync.yml
File metadata and controls
25 lines (23 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Repo Sync
on:
workflow_dispatch: # allows triggering this manually through the Actions UI
jobs:
repo-sync:
name: Repo Sync
environment: repo-sync
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: repo-sync/github-sync@v2
name: Sync repo to branch
with:
source_repo: ${{ secrets.SOURCE_REPO }}
source_branch: master
destination_branch: ${{ secrets.INTERMEDIATE_BRANCH }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: repo-sync/pull-request@v2
name: Create pull request
with:
source_branch: ${{ secrets.INTERMEDIATE_BRANCH }}
destination_branch: master
github_token: ${{ secrets.GITHUB_TOKEN }}