Skip to content

Commit 6a1cc4d

Browse files
Update random-commit.yml
1 parent 28f92cc commit 6a1cc4d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/random-commit.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
- name: Show random number
2020
run: echo "Random number was $RANDOM_NUMBER"
2121

22-
- name: Maybe commit (if number is 0-5)
22+
- name: Maybe commit (if number is 05)
2323
if: ${{ env.RANDOM_NUMBER <= 5 }}
2424
run: |
2525
echo "Logging activity at $(date)" >> activity.txt
26-
git config --global user.name "github-actions[bot]"
27-
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
26+
git config --global user.name "GitHub Bot"
27+
git config --global user.email "bot@example.com"
2828
git add activity.txt
2929
git commit -m "Random activity $(date)"
30-
git push
30+
git push https://x-access-token:${{ secrets.PAT }}@github.com/${{ github.repository }}.git

0 commit comments

Comments
 (0)