Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

fix(ci): change aws role (#69) #15

fix(ci): change aws role (#69)

fix(ci): change aws role (#69) #15

Workflow file for this run

name: Sync Branches with Main
on:
workflow_dispatch:
push:
branches:
- main
env:
GITHUB_TOKEN: ${{secrets.MERGEBOT_TOKEN}}
jobs:
sync-beta-with-main:
runs-on: ubuntu-latest
name: Sync Beta branch with Main
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
token: ${{ secrets.MERGEBOT_TOKEN }}
fetch-depth: 0
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v4
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true
git_tag_gpgsign: true
git_config_global: true
- name: Opening pull request in Beta branch
id: pull
run: |
git checkout main
git checkout -b sync_from_main
git push origin sync_from_main
hub pull-request -m "chore: Sync main with beta" \
-m "Sync latest main with beta branch" \
-b beta \
-l "ok-to-test","ready for review"