Skip to content

Commit 16c064e

Browse files
fix: Fix position of git identity (#2773)
1 parent 4663fc8 commit 16c064e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,18 +64,18 @@ jobs:
6464
app_id: ${{ secrets.GH_APP_POSTHOG_JS_RELEASER_APP_ID }}
6565
private_key: ${{ secrets.GH_APP_POSTHOG_JS_RELEASER_PRIVATE_KEY }} # Secrets available only inside the `NPM Release` environment, requires approval from a maintainer
6666

67-
- name: Set up Git
68-
run: |
69-
git config user.name "github-actions[bot]"
70-
git config user.email "github-actions[bot]@users.noreply.github.com"
71-
7267
- name: Checkout repository
7368
uses: actions/checkout@v4
7469
with:
7570
ref: main
7671
fetch-depth: 0
7772
token: ${{ steps.releaser.outputs.token }}
7873

74+
- name: Configure Git
75+
run: |
76+
git config user.name "github-actions[bot]"
77+
git config user.email "github-actions[bot]@users.noreply.github.com"
78+
7979
- name: Setup environment
8080
uses: ./.github/actions/setup
8181
with:
@@ -137,7 +137,7 @@ jobs:
137137
ref: main
138138
fetch-depth: 0
139139

140-
- name: Set up Git
140+
- name: Configure Git
141141
run: |
142142
git config user.name "github-actions[bot]"
143143
git config user.email "github-actions[bot]@users.noreply.github.com"

0 commit comments

Comments
 (0)