Skip to content

Commit 4bd0762

Browse files
committed
fixup! ci: custom update-flake with sign commits
1 parent afeaa83 commit 4bd0762

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/update-flake-lock.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,11 @@ jobs:
4848
-F branchName="$BRANCH" \
4949
-F expectedHeadOid="$(git rev-parse HEAD)" \
5050
-F commitMessage="chore: update flake.lock" \
51-
-F 'query=@.github/api/createCommitOnBranch.gql' \
51+
-F "query=@.github/api/createCommitOnBranch.gql" \
5252
"${FILES[@]}"
5353
54-
git pull
54+
git fetch
55+
git reset --hard "origin/$BRANCH"
5556
gh pr create --fill --base main --head "$BRANCH"
5657
env:
5758
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)