Skip to content

Commit

Permalink
feat(create-prs-to-update-vcs-repositories): add a workflow (#5212)
Browse files Browse the repository at this point in the history
  • Loading branch information
sasakisasaki authored Sep 12, 2024
1 parent 291786b commit 30fd264
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/create-prs-to-update-vcs-repositories.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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-latest
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
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: .
base_branch: main
new_branch_prefix: feat/update-
autoware_repos_file_name: autoware.repos
verbosity: 0

0 comments on commit 30fd264

Please sign in to comment.