We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ed7fac commit ccde319Copy full SHA for ccde319
.github/workflows/update-nix-hashes.yml
@@ -28,6 +28,7 @@ jobs:
28
with:
29
token: ${{ secrets.GITHUB_TOKEN }}
30
fetch-depth: 0
31
+ ref: ${{ github.head_ref || github.ref_name }}
32
33
- name: Setup Nix
34
uses: DeterminateSystems/nix-installer-action@v20
@@ -79,6 +80,7 @@ jobs:
79
80
git commit -m "Update Nix flake.lock and hashes"
81
82
BRANCH="${TARGET_BRANCH:-${GITHUB_REF_NAME}}"
83
+ git pull --rebase origin "$BRANCH"
84
git push origin HEAD:"$BRANCH"
85
86
summarize "committed $(git rev-parse --short HEAD)"
0 commit comments