Skip to content
name: sync-upstream
on:
workflow_dispatch:
jobs:
sync-upstream:
runs-on: ubuntu-latest
steps:

Check failure on line 9 in .github/workflows/sync-upstream.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/sync-upstream.yaml

Invalid workflow file

You have an error in your yaml syntax on line 9
- name: Generate token
id: generate-token
uses: tibdex/github-app-token@v1
with:
app_id: x
private_key: x
- name: Print warning for invalid branch name
if: ${{ github.event.inputs.target_branch == 'tier4/main' }}
run: |
echo This action cannot be performed on 'tier/main' branch
- name: Run sync-branches
if: ${{ github.event.inputs.target_branch != 'tier4/main' }}
uses: autowarefoundation/autoware-github-actions/sync-branches@v1
with:
token: ${{ steps.generate-token.outputs.token }}
base-branch: ${{ inputs.target_branch }}
sync-pr-branch: sync-upstream
sync-target-repository: https://github.com/autowarefoundation/autoware.universe.git
sync-target-branch: main
pr-title: "chore: sync upstream"
auto-merge-method: merge