From 58cd680c93ad491e2c33ff4147709a00bea48d9d Mon Sep 17 00:00:00 2001 From: Takayuki Murooka Date: Thu, 18 Jan 2024 11:05:31 +0900 Subject: [PATCH] feat: add sync-awf-latest.yaml Signed-off-by: Takayuki Murooka --- .github/workflows/sync-awf-latest.yaml | 30 ++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/sync-awf-latest.yaml diff --git a/.github/workflows/sync-awf-latest.yaml b/.github/workflows/sync-awf-latest.yaml new file mode 100644 index 0000000000000..3d8fb707aa27c --- /dev/null +++ b/.github/workflows/sync-awf-latest.yaml @@ -0,0 +1,30 @@ +name: sync-awf-latest + +on: + schedule: + - cron: 0 15 * * * + workflow_dispatch: + +jobs: + sync-awf-latest: + runs-on: ubuntu-latest + steps: + - name: Generate token + id: generate-token + uses: tibdex/github-app-token@v1 + with: + app_id: ${{ secrets.APP_ID }} + private_key: ${{ secrets.PRIVATE_KEY }} + + - 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