Skip to content

Commit

Permalink
chore: fix sync-awf-latest.yaml (#1784)
Browse files Browse the repository at this point in the history
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
  • Loading branch information
rej55 authored Feb 6, 2025
1 parent dd4606b commit c5f0a24
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions .github/workflows/sync-awf-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,22 @@ jobs:
sync-awf-latest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Generate token
id: generate-token
uses: tibdex/github-app-token@v1
with:
token: ${{ secrets.TOKEN_TO_MODIFY_WOKFLOW }}
fetch-depth: 0
- name: Commit Results
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}

git checkout awf-latest
git remote add awf https://github.com/autowarefoundation/autoware.universe
git fetch awf main
git rebase awf/main
git push origin awf-latest --force
- name: Run sync-branches
uses: autowarefoundation/autoware-github-actions/sync-branches@v1
with:
token: ${{ steps.generate-token.outputs.token }}
base-branch: awf-latest
sync-pr-branch: sync-awf-latest
sync-target-repository: https://github.com/autowarefoundation/autoware.universe.git
sync-target-branch: main
pr-title: "chore: sync awf-latest"
pr-labels: |
bot
auto-merge-method: merge

0 comments on commit c5f0a24

Please sign in to comment.