diff --git a/.github/workflows/resume.yml b/.github/workflows/resume.yml index 441603a..e5db14e 100644 --- a/.github/workflows/resume.yml +++ b/.github/workflows/resume.yml @@ -76,11 +76,10 @@ jobs: cd website git config --global user.name "cathy-cloud[bot]" git config --global user.email "154095190+cathy-cloud[bot]@users.noreply.github.com" - branch=auto/resume - git checkout -b "$branch" + git checkout -b "${{ env.branch }}" git add . git commit -m "${{ needs.build.outputs.msg }}" - git push -fu origin auto/resume + git push -fu origin "${{ env.branch }}" if gh pr edit "${{ env.branch }}" -b "${{ env.body }}" -t "${{ env.title}}"; then gh pr reopen "${{ env.branch }}" else @@ -88,7 +87,7 @@ jobs: fi env: GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} - branch: auto/resume + branch: auto/resume-${{ github.run_number }} title: Update resume.pdf body: | Automatically generated by GitHub Actions: