Skip to content

Commit 286941a

Browse files
authored
Update GitHub Actions bot details in squash workflow
1 parent 940ea9b commit 286941a

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,21 @@
11
name: Squash History
2-
32
on:
43
push:
54
branches: [main]
6-
75
permissions:
86
contents: write
9-
107
jobs:
118
squash:
129
runs-on: ubuntu-latest
1310
steps:
1411
- uses: actions/checkout@v4
1512
with:
1613
fetch-depth: 0
17-
1814
- name: Check if already single commit
1915
id: check
2016
run: |
2117
COMMIT_COUNT=$(git rev-list --count HEAD)
2218
echo "count=$COMMIT_COUNT" >> "$GITHUB_OUTPUT"
23-
2419
- name: Squash entire history to one commit
2520
if: steps.check.outputs.count != '1'
2621
run: |
@@ -30,7 +25,7 @@ jobs:
3025
git branch -M temp main
3126
git push --force origin main
3227
env:
33-
GIT_AUTHOR_NAME: SteamClientHomebrew
34-
GIT_AUTHOR_EMAIL: noreply@steambrew.app
35-
GIT_COMMITTER_NAME: SteamClientHomebrew
36-
GIT_COMMITTER_EMAIL: noreply@steambrew.app
28+
GIT_AUTHOR_NAME: github-actions[bot]
29+
GIT_AUTHOR_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
30+
GIT_COMMITTER_NAME: github-actions[bot]
31+
GIT_COMMITTER_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com

0 commit comments

Comments
 (0)