Use default values for healthcheckUuid and ntfy_topic in whiskey conf… #362
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nix Flake Check | |
on: | |
pull_request: | |
paths: | |
- '**.nix' | |
- '.github/workflows/check.yml' | |
push: | |
branches: | |
- 'main' | |
paths: | |
- '**.nix' | |
- '.github/workflows/check.yml' | |
workflow_dispatch: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- run: nix flake check | |
auto-update: | |
runs-on: ubuntu-latest | |
needs: check | |
if: github.ref == 'refs/heads/main' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: git checkout -b auto-update && git reset --hard origin/main && git push origin auto-update -f |