Skip to content

Commit bb104f6

Browse files
committed
build: fix branch and repo environment variables
1 parent 0830814 commit bb104f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/update_pr_copyright_years.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ jobs:
142142
env:
143143
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
144144
USER_NAME: stdlb-bot
145-
BRANCH_NAME: ${{ inputs.branch }}
146-
REPO_NAME: ${{ inputs.repository }}
145+
BRANCH_NAME: ${{ steps.pr-details.outputs.branch }}
146+
REPO_NAME: ${{ steps.pr-details.outputs.repository }}
147147
run: |
148148
git config --local user.email "82920195+stdlib-bot@users.noreply.github.com"
149149
git config --local user.name "stdlib-bot"

0 commit comments

Comments
 (0)