Skip to content

Commit 1c82af0

Browse files
authored
feat(create-prs-to-update-vcs-repositories): add a workflow (#5295)
1 parent f0314f1 commit 1c82af0

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: create-prs-to-update-vcs-repositories
2+
3+
on:
4+
schedule:
5+
- cron: 0 0,6,12,18 * * *
6+
workflow_dispatch:
7+
8+
jobs:
9+
create-version-update-pr:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Generate GitHub App token
15+
id: generate-token
16+
uses: tibdex/github-app-token@v2
17+
with:
18+
app_id: ${{ secrets.APP_ID }}
19+
private_key: ${{ secrets.PRIVATE_KEY }}
20+
21+
- name: Create PRs to update VCS repositories
22+
uses: autowarefoundation/autoware-github-actions/create-prs-to-update-vcs-repositories@v1
23+
with:
24+
token: ${{ steps.generate-token.outputs.token }}
25+
repo_name: autowarefoundation/autoware
26+
parent_dir: .
27+
targets: major minor patch
28+
base_branch: main
29+
new_branch_prefix: feat/update-
30+
autoware_repos_file_name: autoware.repos
31+
verbosity: 0

0 commit comments

Comments
 (0)