Skip to content

Commit

Permalink
ci: add sync-awf.yaml (autowarefoundation#318)
Browse files Browse the repository at this point in the history
* ci: add sync-awf.yaml

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* rename

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
  • Loading branch information
kenji-miyake authored May 20, 2022
1 parent 66b4732 commit 7fbe789
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/sync-awf-latest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: sync-awf-latest

on:
schedule:
- cron: 0 0 * * *
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: tier4/universe
sync-pr-branch: sync-awf-latest
sync-target-repository: https://github.com/tier4/autoware_launch.git
sync-target-branch: awf-latest
pr-title: "chore: sync awf-latest"
pr-labels: |
bot
sync-awf-latest
auto-merge-method: merge

0 comments on commit 7fbe789

Please sign in to comment.