diff --git a/.github/workflows/flake-review.yml b/.github/workflows/flake-review.yml new file mode 100644 index 00000000..2dd8671e --- /dev/null +++ b/.github/workflows/flake-review.yml @@ -0,0 +1,23 @@ +name: Flake Review + +on: + pull_request: + branches: [master, dev] + +concurrency: + group: ${{ inputs.concurrency-group || format('{0}-{1}', github.workflow, github.ref) }} + cancel-in-progress: true + +permissions: + contents: read + pull-requests: write + +jobs: + review: + uses: ojsef39/flake-review/.github/workflows/flake-review-reusable.yml@0.1.2 + with: + # https://github.com/ojsef39/flake-review/blob/main/.github/workflows/flake-review-reusable.yml + concurrency-group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + flake-review-ref: "0.1.2" + packages: "default" + matrix: '[{"runner":"macos-latest","systems":"aarch64-darwin","name":"darwin"},{"runner":"ubuntu-latest","systems":"x86_64-linux","name":"linux"}]' diff --git a/flake.lock b/flake.lock index 4af39619..9203379e 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1778124196, - "narHash": "sha256-pYEytCNic/czazbV9r3tbQ6BZzqRBg/41x2dIC5ymOo=", + "lastModified": 1778580735, + "narHash": "sha256-t+8AVV8ExvOmslz2sLIgw/hJBKlyl65rJvxjvvjHgpE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "68a8af93ff4297686cb68880845e61e5e2e41d92", + "rev": "48d91f2c0ce7b9e589f967d4f685153dd765dcdd", "type": "github" }, "original": { diff --git a/renovate.json b/renovate.json new file mode 100644 index 00000000..cc32a963 --- /dev/null +++ b/renovate.json @@ -0,0 +1,24 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "customManagers": [ + { + "customType": "regex", + "managerFilePatterns": [ + "/^\\.github/workflows/flake-review\\.yml$/" + ], + "matchStrings": [ + "flake-review-ref: \"(?[^\"]+)\"" + ], + "depNameTemplate": "ojsef39/flake-review", + "datasourceTemplate": "github-tags" + } + ], + "packageRules": [ + { + "matchPackageNames": [ + "ojsef39/flake-review" + ], + "groupName": "flake-review" + } + ] +}