Skip to content

Commit

Permalink
fix: action
Browse files Browse the repository at this point in the history
  • Loading branch information
yayacat committed Dec 2, 2024
1 parent d22ad9c commit 45d2948
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-pr-info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
FILENAME="${BASE_NAME}.json"
echo "filename=$FILENAME" >> $GITHUB_OUTPUT
echo "branch_name=update-file-$(date +%s)" >> $GITHUB_OUTPUT
cp info.json ../target.json
cp info.json ../../target.json
- name: Checkout target repository
uses: actions/checkout@v4
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Copy and commit file
run: |
mkdir -p target-repo/infos
mv eew-logger/target.json "target-repo/infos/${{ steps.get-filename.outputs.filename }}"
mv target.json "target-repo/infos/${{ steps.get-filename.outputs.filename }}"
cd target-repo
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
Expand Down

0 comments on commit 45d2948

Please sign in to comment.