From b246490d8cadf8c8a9eb5d3dfd99eb3b0e70956b Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Sat, 26 Oct 2024 15:23:06 +0200 Subject: [PATCH] workflows: Rename after security fixes In the previous two commits, security issues with these workflows were fixed. In order for these to not be exploitable for PRs to branches that don't have the fixes yet (including read-only branches like nixos-unstable), these workflows are renamed, so that the old ones can be turned off manually via GitHub interface. Co-Authored-By: 13x1 Co-Authored-By: basti564 (cherry picked from commit 5bbbc3a30b1a843bc2267f3bb4a42e8af3411498) --- .github/workflows/{codeowners.yml => codeowners-v2.yml} | 2 +- .github/workflows/{editorconfig.yml => editorconfig-v2.yml} | 2 +- .github/workflows/{manual-nixos.yml => manual-nixos-v2.yml} | 2 +- .github/workflows/{manual-nixpkgs.yml => manual-nixpkgs-v2.yml} | 2 +- .github/workflows/{nix-parse.yml => nix-parse-v2.yml} | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename .github/workflows/{codeowners.yml => codeowners-v2.yml} (99%) rename .github/workflows/{editorconfig.yml => editorconfig-v2.yml} (98%) rename .github/workflows/{manual-nixos.yml => manual-nixos-v2.yml} (97%) rename .github/workflows/{manual-nixpkgs.yml => manual-nixpkgs-v2.yml} (97%) rename .github/workflows/{nix-parse.yml => nix-parse-v2.yml} (96%) diff --git a/.github/workflows/codeowners.yml b/.github/workflows/codeowners-v2.yml similarity index 99% rename from .github/workflows/codeowners.yml rename to .github/workflows/codeowners-v2.yml index d7297213833a..862681fb53b8 100644 --- a/.github/workflows/codeowners.yml +++ b/.github/workflows/codeowners-v2.yml @@ -1,4 +1,4 @@ -name: Codeowners +name: Codeowners v2 # This workflow depends on two GitHub Apps with the following permissions: # - For checking code owners: diff --git a/.github/workflows/editorconfig.yml b/.github/workflows/editorconfig-v2.yml similarity index 98% rename from .github/workflows/editorconfig.yml rename to .github/workflows/editorconfig-v2.yml index 2c53ac210657..e9cb35fbfb8d 100644 --- a/.github/workflows/editorconfig.yml +++ b/.github/workflows/editorconfig-v2.yml @@ -1,4 +1,4 @@ -name: "Checking EditorConfig" +name: "Checking EditorConfig v2" permissions: pull-requests: read diff --git a/.github/workflows/manual-nixos.yml b/.github/workflows/manual-nixos-v2.yml similarity index 97% rename from .github/workflows/manual-nixos.yml rename to .github/workflows/manual-nixos-v2.yml index 4be7e20b2aa3..49871d61bdfb 100644 --- a/.github/workflows/manual-nixos.yml +++ b/.github/workflows/manual-nixos-v2.yml @@ -1,4 +1,4 @@ -name: "Build NixOS manual" +name: "Build NixOS manual v2" permissions: contents: read diff --git a/.github/workflows/manual-nixpkgs.yml b/.github/workflows/manual-nixpkgs-v2.yml similarity index 97% rename from .github/workflows/manual-nixpkgs.yml rename to .github/workflows/manual-nixpkgs-v2.yml index 33b2d9b51b7f..35409d8e106a 100644 --- a/.github/workflows/manual-nixpkgs.yml +++ b/.github/workflows/manual-nixpkgs-v2.yml @@ -1,4 +1,4 @@ -name: "Build Nixpkgs manual" +name: "Build Nixpkgs manual v2" permissions: contents: read diff --git a/.github/workflows/nix-parse.yml b/.github/workflows/nix-parse-v2.yml similarity index 96% rename from .github/workflows/nix-parse.yml rename to .github/workflows/nix-parse-v2.yml index 7b4706fb8504..09cd162817ba 100644 --- a/.github/workflows/nix-parse.yml +++ b/.github/workflows/nix-parse-v2.yml @@ -1,4 +1,4 @@ -name: "Check whether nix files are parseable" +name: "Check whether nix files are parseable v2" permissions: pull-requests: read