Skip to content

Commit

Permalink
Merge pull request #1 from booars/ci/create_syn_upstream_ci
Browse files Browse the repository at this point in the history
ci: add sync-upstream ci
ナイスコントリビュート
  • Loading branch information
hrjp authored Jul 28, 2024
2 parents 86b6239 + 932bb41 commit 7a62acd
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/sync-upstream.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: sync-upstream

on:
schedule:
- cron: 0 0 * * *
workflow_dispatch:

jobs:
sync-upstream:
runs-on: ubuntu-latest
steps:
- name: Generate token
id: generate-token
uses: tibdex/github-app-token@v2
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: main
sync-pr-branch: sync-upstream
sync-target-repository: https://github.com/AutomotiveAIChallenge/aichallenge-2024.git
sync-target-branch: main
pr-title: "chore: sync upstream"
pr-labels: |
ci
sync-upstream
auto-merge-method: merge

0 comments on commit 7a62acd

Please sign in to comment.