Skip to content

Commit 0d296b9

Browse files
authored
Update sync_main_latest to not using GH sync action. (#200)
1 parent 9835516 commit 0d296b9

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

.github/workflows/sync_main_latest.yml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,22 @@ jobs:
1010
name: Syncing branches
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v2
14-
- name: Opening pull request
15-
id: pull
16-
uses: tretuna/[email protected]
13+
uses: actions/checkout@v3
14+
15+
- name: Merge main into latest
16+
run: git checkout latest && git merge main
17+
18+
- name: Create pull request
19+
id: cpr
20+
uses: peter-evans/create-pull-request@v4
1721
with:
18-
GITHUB_TOKEN: ${{secrets.PAT}}
19-
FROM_BRANCH: "main"
20-
TO_BRANCH: "latest"
22+
token: ${{ secrets.PAT }}
23+
commit-message: 🤖 Sync main to latest
24+
committer: compose-devrel-github-bot <[email protected]>
25+
author: compose-devrel-github-bot <[email protected]>
26+
signoff: false
27+
branch: bot-sync-main
28+
delete-branch: true
29+
title: '🤖 Sync main to latest'
30+
body: Updated dependencies
31+
reviewers: ${{ github.actor }}

0 commit comments

Comments
 (0)