-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 1.15 KB
/
sync-tier4-upstream.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# This workflow is intended for the use in the repositories created by forking tier4/autoware_launch.
name: sync-tier4-upstream
on:
schedule:
- cron: 0 0 * * *
workflow_dispatch:
inputs:
sync-target-tag:
description: "sync-target-tag"
required: false
type: string
default: ""
jobs:
sync-tier4-upstream:
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: h-ohta/autoware-github-actions/sync-branches@feat/sync-tags
with:
token: ${{ steps.generate-token.outputs.token }}
base-branch: tier4/main
sync-pr-branch: sync-tier4-upstream
sync-target-repository: https://github.com/tier4/autoware_launch.git
sync-target-branch: tier4/main
sync-target-tag: ${{ inputs.sync-target-tag }}
pr-title: "chore: sync upstream"
pr-labels: |
bot
sync-tier4-upstream
auto-merge-method: merge