From 88997706fc0bd7fdec3142d6c77e6d39908d2579 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Sun, 22 Dec 2024 17:08:56 +0100 Subject: [PATCH 1/6] mergify: handle github-actions --- .mergify.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.mergify.yml b/.mergify.yml index 8e98970..16b1c33 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -5,7 +5,8 @@ pull_request_rules: - check-success = "Nix build on ubuntu" - check-success = "pre-commit.ci - pr" - or: - - author = pre-commit-ci[bot] - author = dependabot[bot] + - author = github-actions[bot] + - author = pre-commit-ci[bot] actions: merge: From e8a8915bfbd89052ffe12e42c8e64c1d13a31028 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Sun, 22 Dec 2024 17:09:22 +0100 Subject: [PATCH 2/6] CI: run on push/pr --- .github/workflows/nix.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index cc47550..7af89e8 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -2,6 +2,13 @@ name: "CI - Nix" on: push: + branches: + - devel + - master + pull_requests: + branches: + - devel + - master jobs: tests: From 535d88152333c006199249edd7fb55103ec7fc02 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Sun, 22 Dec 2024 17:09:34 +0100 Subject: [PATCH 3/6] setup dependabot --- .github/dependabot.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..203f3c8 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: +- package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" From 63bca3baaa85beaf4bf7f98655fa7b23c3be9b23 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Sun, 22 Dec 2024 17:10:29 +0100 Subject: [PATCH 4/6] update flake lock --- .github/workflows/update-flake-lock.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/update-flake-lock.yml diff --git a/.github/workflows/update-flake-lock.yml b/.github/workflows/update-flake-lock.yml new file mode 100644 index 0000000..359d50e --- /dev/null +++ b/.github/workflows/update-flake-lock.yml @@ -0,0 +1,17 @@ +name: update-flake-lock + +on: + workflow_dispatch: + schedule: + - cron: '0 11 20 * *' + +jobs: + lockfile: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@main + - name: Update flake.lock + uses: DeterminateSystems/update-flake-lock@main From 810d3c77bed0caff21561aa847fb7cbca779a3be Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Sun, 22 Dec 2024 17:10:43 +0100 Subject: [PATCH 5/6] nix flake update --- flake.lock | 18 +++++++++--------- flake.nix | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/flake.lock b/flake.lock index 0acc930..558ed19 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1727826117, - "narHash": "sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0=", + "lastModified": 1733312601, + "narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "3d04084d54bedc3d6b8b736c70ef449225c361b1", + "rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9", "type": "github" }, "original": { @@ -22,16 +22,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1728311915, - "narHash": "sha256-sSO62Urk2Z+FD0nZedCtls1DS2i1ptym4cH9LLe9qDc=", - "owner": "gepetto", + "lastModified": 1734714690, + "narHash": "sha256-qG7ZsWjeuhYKa8mSEVBDvEW5BPyzTV3sK6YNjXnbwXc=", + "owner": "NixOS", "repo": "nixpkgs", - "rev": "cd927e59d87f819ddad09b157d8c58dc7319eba5", + "rev": "8ca81a76ca9f378eff8c25c9db0ffb14acb33d64", "type": "github" }, "original": { - "owner": "gepetto", - "ref": "hpp", + "owner": "NixOS", + "ref": "refs/pull/362956/head", "repo": "nixpkgs", "type": "github" } diff --git a/flake.nix b/flake.nix index 424a3cf..ed18358 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,7 @@ description = "corbaserver to provide affordance utilities in python"; inputs = { - nixpkgs.url = "github:gepetto/nixpkgs/hpp"; + nixpkgs.url = "github:NixOS/nixpkgs/refs/pull/362956/head"; flake-parts = { url = "github:hercules-ci/flake-parts"; inputs.nixpkgs-lib.follows = "nixpkgs"; From f27b88fa0d4d405229ea83b7b92a7bd41994a7f6 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Sun, 22 Dec 2024 18:00:54 +0100 Subject: [PATCH 6/6] typo --- .github/workflows/nix.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 7af89e8..27c4d7c 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -5,7 +5,7 @@ on: branches: - devel - master - pull_requests: + pull_request: branches: - devel - master