Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Feb 11, 2025
1 parent a491500 commit fb0fd1f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ on:
- humble

jobs:
nix:
runs-on: "ubuntu-latest"
tests:
name: "Nix build on ${{ matrix.os }}"
runs-on: "${{ matrix.os }}-latest"
strategy:
matrix:
os: [ubuntu]
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-flake-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: update-flake-lock
on:
workflow_dispatch:
schedule:
- cron: '0 11 10 * *'
- cron: '0 11 8 * *'

jobs:
lockfile:
Expand Down
12 changes: 12 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
pull_request_rules:
- name: merge automatically when CI passes and PR is approved
conditions:
- check-success = "Nix build on ubuntu"
- check-success = "pre-commit.ci - pr"
- or:
- author = dependabot[bot]
- author = github-actions[bot]
- author = hrp2-14
- author = pre-commit-ci[bot]
actions:
merge:

0 comments on commit fb0fd1f

Please sign in to comment.