diff --git a/.github/workflows/after-release.yml b/.github/workflows/after-release.yml deleted file mode 100644 index 5ead322..0000000 --- a/.github/workflows/after-release.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: After Release - -on: - workflow_dispatch: # Allows triggering manually - release: - types: [published] - -jobs: - create-pr: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v6 - with: - repository: NixOS/nixpkgs - - - name: Update nixpkgs-check-by-name in Nixpkgs - run: | - echo "rev=$(git rev-parse HEAD)" >> $GITHUB_ENV - echo "before=$(> $GITHUB_ENV - - # We run bash explicitly instead of using the files shebang, - # because the shebang is using nix-shell with dependencies we already have by default - bash pkgs/test/check-by-name/update-pinned-tool.sh - - echo "after=$(> $GITHUB_ENV - - - name: Create Pull Request - uses: peter-evans/create-pull-request@v8 - with: - # To trigger CI for automated PRs, we use a separate machine account - # See https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#workarounds-to-trigger-further-workflow-runs - # and https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#push-pull-request-branches-to-a-fork - token: ${{ secrets.MACHINE_USER_PAT }} - push-to-fork: infinixbot/nixpkgs - committer: infinixbot - author: infinixbot - branch: update/nixpkgs-check-by-name - commit-message: | - nixpkgs-check-by-name: ${{ env.before }} -> ${{ env.after }} - - https://github.com/NixOS/nixpkgs-check-by-name/releases/tag/${{ env.after }} - title: "nixpkgs-check-by-name: ${{ env.before }} -> ${{ env.after }}" - body: > - This is an automated PR to update the version of [nixpkgs-check-by-name](https://github.com/NixOS/nixpkgs-check-by-name), - which is used by CI to [check the `pkgs/by-name`](https://github.com/NixOS/nixpkgs/tree/${{ env.rev }}/pkgs/by-name#validation) directory. - The update was performed by running [`pkgs/test/check-by-name/update-pinned-tool.sh`](https://github.com/NixOS/nixpkgs/tree/${{ env.rev }}/pkgs/test/check-by-name#update-pinned-toolsh). - - This PR updates the tool to [version ${{ env.after }}](https://github.com/NixOS/nixpkgs-check-by-name/releases/tag/${{ env.after }}). diff --git a/Cargo.lock b/Cargo.lock index dc77665..6b8241c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -363,7 +363,7 @@ checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79" [[package]] name = "nixpkgs-vet" -version = "0.2.0" +version = "0.3.0" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index 3d86d1a..03b0eac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nixpkgs-vet" -version = "0.2.0" +version = "0.3.0" edition = "2024" [dependencies]