Skip to content

Commit

Permalink
feat(create-prs-to-update-vcs-repositories): add a workflow (#5295)
Browse files Browse the repository at this point in the history
  • Loading branch information
sasakisasaki authored Oct 4, 2024
1 parent f0314f1 commit 1c82af0
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 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,31 @@
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: .
targets: major minor patch
base_branch: main
new_branch_prefix: feat/update-
autoware_repos_file_name: autoware.repos
verbosity: 0

0 comments on commit 1c82af0

Please sign in to comment.