Skip to content

Commit 7e1f95d

Browse files
committed
Git justering for checkout
Fjerne ref i checkout (trenger ikke noe her) Vi setter allerede safe-directory i checkout. Ingen poeng å gjøre det i git config
1 parent 3a1b0d4 commit 7e1f95d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.github/workflows/buildAndPublish.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,11 @@ jobs:
8181
uses: actions/checkout@v4
8282
with:
8383
fetch-depth: 0
84-
ref: ${{ github.ref_name }}
8584

8685
- name: "Set Git Config"
8786
run: |
8887
git config --global user.email "<>"
8988
git config --global user.name "GitHub Action"
90-
git config --system --add safe.directory "$GITHUB_WORKSPACE"
9189
9290
- name: Authenticate node
9391
if: ${{ github.ref_name == 'main' }}

0 commit comments

Comments
 (0)