Skip to content

Commit

Permalink
ci: fixed code for get pulls number
Browse files Browse the repository at this point in the history
  • Loading branch information
FajarKim committed Aug 31, 2024
1 parent 2d57b2c commit 626000a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/auto-build-pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
message="build(deps): bump all dependencies and devDependencies version"
body=$(printf "## Changes File\n\n\`\`\`diff\n$(git diff)\n\`\`\`\n\n> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>")
if (( ${#body} >= 65000 )); then
body="⚠️ The text diff is too longer, [view changes](https://github.com/FajarKim/github-readme-profile/pull/${{ github.event.number }}/files)."
body="⚠️ The text diff is too longer, [view changes](https://github.com/FajarKim/github-readme-profile/pull/${{ github.event.pull_request.number }}/files)."
fi
if [[ "$(git status --porcelain)" != "" ]]; then
git branch -D ${branch} || true
Expand Down

1 comment on commit 626000a

@vercel
Copy link

@vercel vercel bot commented on 626000a Aug 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.