fix: workflow fix try (#502)
This commit is contained in:
parent
2cf73be675
commit
74e88838f0
2 changed files with 5 additions and 2 deletions
2
.github/workflows/beta.yml
vendored
2
.github/workflows/beta.yml
vendored
|
@ -45,7 +45,7 @@ jobs:
|
||||||
fi
|
fi
|
||||||
echo "Commits since $LAST_SHA:"
|
echo "Commits since $LAST_SHA:"
|
||||||
# Accumulate commit logs in a shell variable
|
# Accumulate commit logs in a shell variable
|
||||||
COMMIT_LOGS=$(git log $LAST_SHA..HEAD --pretty=format:"● %s ~%an [֍](https://github.com/${{ github.repository }}/commit/%H)")
|
COMMIT_LOGS=$(git log $LAST_SHA..HEAD --pretty=format:"● %s ~%an [֍](https://github.com/${{ github.repository }}/commit/%H)" --max-count=20)
|
||||||
# Replace commit messages with pull request links
|
# Replace commit messages with pull request links
|
||||||
COMMIT_LOGS=$(echo "$COMMIT_LOGS" | sed -E 's/#([0-9]+)/[#\1](https:\/\/github.com\/rebelonion\/Dantotsu\/pull\/\1)/g')
|
COMMIT_LOGS=$(echo "$COMMIT_LOGS" | sed -E 's/#([0-9]+)/[#\1](https:\/\/github.com\/rebelonion\/Dantotsu\/pull\/\1)/g')
|
||||||
# URL-encode the newline characters for GitHub Actions
|
# URL-encode the newline characters for GitHub Actions
|
||||||
|
|
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -33,4 +33,7 @@ output.json
|
||||||
scripts/
|
scripts/
|
||||||
|
|
||||||
#crowdin
|
#crowdin
|
||||||
crowdin.yml
|
crowdin.yml
|
||||||
|
|
||||||
|
#vscode
|
||||||
|
.vscode
|
Loading…
Add table
Add a link
Reference in a new issue