Skip to content

Commit f743b5c

Browse files
authored
repo sync
2 parents bb42e3f + 90e72b7 commit f743b5c

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: autoupdate reposync branch on cron
2+
on:
3+
schedule:
4+
- cron: '*/5 * * * *'
5+
autoupdate:
6+
name: autoupdate
7+
runs-on: ubuntu-18.04
8+
steps:
9+
- uses: docker://chinthakagodawita/autoupdate-action:v1
10+
env:
11+
GITHUB_TOKEN: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
12+
PR_FILTER: labelled
13+
PR_LABELS: 'automated-reposync-pr'
14+
MERGE_MSG: "Branch was updated using the 'autoupdate reposync branch on cron' Actions workflow."

.github/workflows/repo-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
destination_branch: main
5353
pr_title: 'repo sync'
5454
pr_body: "This is an automated pull request to sync changes between the public and private repos.\n\n:robot: This pull request should be merged (not squashed) to preserve continuity across repos, so please let a bot do the merging!"
55-
pr_label: automerge,autoupdate
55+
pr_label: automerge,autoupdate,automated-reposync-pr
5656
github_token: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
5757

5858
- name: Find pull request

0 commit comments

Comments
 (0)