Skip to content

Commit b3674e7

Browse files
committed
Update GitHub Actions workflow to use run ID in commit message for scheduled builds
1 parent 7fc21c8 commit b3674e7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,11 @@ jobs:
6666
6767
DEMYX_CHECK_STATUS="$(git status)"
6868
if [[ "$DEMYX_CHECK_STATUS" != *"nothing to commit"* ]]; then
69-
DEMYX_RANDOM_QUOTE="$(curl -s "https://api.quotable.io/random?tags=technology" | jq -r '. | "\"\(.content)\" - \(.author)"')"
7069
git config --global user.name github-actions[bot]
7170
git config --global user.email github-actions[bot]@users.noreply.github.com
7271
git remote set-url origin https://demyxsh:${{ secrets.DEMYX_TOKEN }}@github.com/demyxsh/${{ env.DEMYX_REPOSITORY }}
7372
git add .
74-
git commit -m "${DEMYX_RANDOM_QUOTE:-Scheduled Build}"
73+
git commit -m "Schedule Build #${{ github.run_id }}"
7574
git push
7675
fi
7776

0 commit comments

Comments
 (0)