diff options
| author | Aiden Cline <[email protected]> | 2025-11-24 14:26:53 -0600 |
|---|---|---|
| committer | Aiden Cline <[email protected]> | 2025-11-24 14:26:55 -0600 |
| commit | ccde319937b7ffb84aadd283a260bfe0f98c9bbb (patch) | |
| tree | 4ceb31be28af637862c2aa678ac1af070413bab7 /.github | |
| parent | 0ed7fac5fb9034248153c8a7630d397916d159ec (diff) | |
| download | opencode-ccde319937b7ffb84aadd283a260bfe0f98c9bbb.tar.gz opencode-ccde319937b7ffb84aadd283a260bfe0f98c9bbb.zip | |
ci: nix hash
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/update-nix-hashes.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/update-nix-hashes.yml b/.github/workflows/update-nix-hashes.yml index 2f0aeac20..c0ff77b56 100644 --- a/.github/workflows/update-nix-hashes.yml +++ b/.github/workflows/update-nix-hashes.yml @@ -28,6 +28,7 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} fetch-depth: 0 + ref: ${{ github.head_ref || github.ref_name }} - name: Setup Nix uses: DeterminateSystems/nix-installer-action@v20 @@ -79,6 +80,7 @@ jobs: git commit -m "Update Nix flake.lock and hashes" BRANCH="${TARGET_BRANCH:-${GITHUB_REF_NAME}}" + git pull --rebase origin "$BRANCH" git push origin HEAD:"$BRANCH" summarize "committed $(git rev-parse --short HEAD)" |
