Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
h-ohta committed Mar 15, 2024
1 parent 5b4ef26 commit ea69a5a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/sync-tier4-upstream-up-to-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4
with:
ref: ${{ vars.BASE_BRANCH }}
ref: $BASE_BRANCH
fetch-depth: 0

- name: Set git config
Expand All @@ -48,6 +48,7 @@ jobs:
uses: autowarefoundation/autoware-github-actions/generate-changelog@v1
with:
git-cliff-args: origin/$BASE_BRANCH..HEAD

- name: Replace PR number to URL
id: replace-pr-number-to-url
run: |
Expand All @@ -59,15 +60,15 @@ jobs:
echo "$EOF" >> $GITHUB_OUTPUT
env:
CHANGELOG: ${{ steps.generate-changelog.outputs.changelog }}
REPO_URL: ${{ vars.SYNC_TARGET_REPOSITORY }}
REPO_URL: $SYNC_TARGET_REPOSITORY
shell: bash

- name: Create PR
id: create-pr
uses: peter-evans/create-pull-request@v6
with:
token: ${{ steps.generate-token.outputs.token }}
base: ${{ vars.BASE_BRANCH }}
base: $BASE_BRANCH
branch: sync-tier4-upstream-${{ inputs.sync-target-tag }}
title: "chore: sync upstream up to ${{ inputs.sync-target-tag }}"
body: ${{ steps.replace-pr-number-to-url.outputs.changelog }}
Expand Down

0 comments on commit ea69a5a

Please sign in to comment.