Skip to content

Commit

Permalink
Merge pull request #7 from kachick/update-nixpkgs-6346155167
Browse files Browse the repository at this point in the history
Update nixpkgs and related CI dependencies
  • Loading branch information
kachick committed Sep 29, 2023
2 parents 68c7391 + 64ff88a commit 5b53877
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crate-ci/typos@v1.16.13 # selfup { "regex": "\\d\\.\\d+\\.\\d+", "script": "typos --version | cut -d ' ' -f 2" }
- uses: crate-ci/typos@v1.16.14 # selfup { "regex": "\\d\\.\\d+\\.\\d+", "script": "typos --version | cut -d ' ' -f 2" }
with:
files: |
.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
distribution: goreleaser
version: 'v1.21.0' # selfup { "regex": "\\d[^']+", "script": "goreleaser --version | grep 'GitVersion:' | tr -s ' ' | cut -d ' ' -f 2" }
version: 'v1.21.1' # selfup { "regex": "\\d[^']+", "script": "goreleaser --version | grep 'GitVersion:' | tr -s ' ' | cut -d ' ' -f 2" }
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 4 additions & 1 deletion .github/workflows/update-nixpkgs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ jobs:
- uses: actions/checkout@v4
if: (github.event.sender.login == 'kachick') || (github.event_name != 'pull_request')
with:
# Needed to get commit counts
# https://stackoverflow.com/a/65056108
fetch-depth: 0
# Needed to specify token for checkout phase, only in pushing phase is too late
# https://github.com/orgs/community/discussions/27072#discussioncomment-3254515
token: ${{ steps.publish-token.outputs.token }}
Expand All @@ -49,7 +52,7 @@ jobs:
- name: Count added commits
id: count-commits
run: |
count="$(git rev-list --count main..)"
count="$(git rev-list --count origin/main..)"
echo "count=${count}" | tee -a "$GITHUB_OUTPUT"
- run: git push origin "${PR_BRANCH}"
if: (github.event_name != 'pull_request') && (steps.count-commits.outputs.count > 0)
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5b53877

Please sign in to comment.