commit 0f3095f5003c2f9be5419ea380e6643163a8913f parent 54efaf56f40362a93ee18803429a331e5aa45f03 Author: minerva-jupiter <ryouturn@gmail.com> Date: Mon, 21 Apr 2025 22:04:58 +0900 use git ? Diffstat:
| M | .github/workflows/PRbuild.yaml | | | 13 | +++++++++++-- |
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/PRbuild.yaml b/.github/workflows/PRbuild.yaml @@ -19,4 +19,13 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} URL: ${{ github.event.pull_request.html_url }} - run: gh pr comment -F ./main.pdf "${URL}"- \ No newline at end of file + run: | + git clone $GIT_URL + cd $REPO_NAME + git checkout $BRANCH + git config --local user.name "github-actions" + git config --local user.email "example@example.com" + cp ../main.pdf ./converted/ + git add . + git commit -m "add pdf to PR" + git push+ \ No newline at end of file