-
Notifications
You must be signed in to change notification settings - Fork 3.1k
43 lines (38 loc) · 1.39 KB
/
create-prs-to-update-vcs-repositories.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
40
41
42
43
name: create-prs-to-update-vcs-repositories
on:
schedule:
- cron: 0 0,6,12,18 * * *
workflow_dispatch:
jobs:
create-version-update-pr:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Generate GitHub App token
id: generate-token
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}
- name: Create PRs to update VCS repositories for autoware.repos
uses: autowarefoundation/autoware-github-actions/create-prs-to-update-vcs-repositories@v1
with:
token: ${{ steps.generate-token.outputs.token }}
repo_name: autowarefoundation/autoware
parent_dir: .
targets: major minor patch
base_branch: main
new_branch_prefix: feat/update-
autoware_repos_file_name: autoware.repos
verbosity: 0
- name: Create PRs to update VCS repositories for simulator.repos
uses: autowarefoundation/autoware-github-actions/create-prs-to-update-vcs-repositories@v1
with:
token: ${{ steps.generate-token.outputs.token }}
repo_name: autowarefoundation/autoware
parent_dir: .
targets: major minor patch
base_branch: main
new_branch_prefix: feat/update-
autoware_repos_file_name: simulator.repos
verbosity: 0