Skip to content

Commit 22c124e

Browse files
committed
update workflow
1 parent d6fd3fc commit 22c124e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/update-library-refs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
update-hash:
1010
name: Update hash
11+
permissions:
12+
contents: write
1113
runs-on: windows-latest
1214
steps:
1315
- name: Checkout repository
@@ -23,5 +25,4 @@ jobs:
2325
Get-Item "./f95/*", "./lc/*" | ForEach-Object -Process {(Get-Content $_) -replace '[a-f0-9]{40}', $CommitHash | Set-Content $_}
2426
git add -A
2527
git commit --amend --no-edit
26-
git remote set-url origin https://x-access-token:${{ secrets.GH_PAT }}@github.com/Edexaal/scripts.git
2728
git push --force origin main

0 commit comments

Comments
 (0)