File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1414 - name : Checkout repository
1515 uses : actions/checkout@v4
1616
17- - name : Install Nix
18- uses : DeterminateSystems/nix-installer-action@main
17+ - uses : cachix/install-nix-action@v31
18+ with :
19+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
1920
2021 - uses : cachix/cachix-action@v15
2122 with :
@@ -62,13 +63,11 @@ jobs:
6263 PR_EXISTS=$(gh pr list --head "$BRANCH" --json number -q '.[0].number')
6364
6465 if [ -z "$PR_EXISTS" ]; then
65- # git fetch
66- # git reset --hard "origin/$BRANCH"
6766 gh pr create \
6867 --title "chore: update flake.lock" \
6968 --body "" \
7069 --base "$(git rev-parse HEAD)" \
71- --head "$BRANCH"
70+ --head "origin/ $BRANCH"
7271 else
7372 echo "Pull request already exists: #$PR_EXISTS"
7473 fi
You can’t perform that action at this time.
0 commit comments