Skip to content

Commit

Permalink
Update sync_main_latest to not using GH sync action. (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
arriolac committed Feb 6, 2024
1 parent 9835516 commit 0d296b9
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions .github/workflows/sync_main_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,22 @@ jobs:
name: Syncing branches
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Opening pull request
id: pull
uses: tretuna/sync-branches@1.4.0
uses: actions/checkout@v3

- name: Merge main into latest
run: git checkout latest && git merge main

- name: Create pull request
id: cpr
uses: peter-evans/create-pull-request@v4
with:
GITHUB_TOKEN: ${{secrets.PAT}}
FROM_BRANCH: "main"
TO_BRANCH: "latest"
token: ${{ secrets.PAT }}
commit-message: 🤖 Sync main to latest
committer: compose-devrel-github-bot <compose-devrel-github-bot@google.com>
author: compose-devrel-github-bot <compose-devrel-github-bot@google.com>
signoff: false
branch: bot-sync-main
delete-branch: true
title: '🤖 Sync main to latest'
body: Updated dependencies
reviewers: ${{ github.actor }}

0 comments on commit 0d296b9

Please sign in to comment.