From 8d0d919fbf43230148da7533519ed0ffdfaa4197 Mon Sep 17 00:00:00 2001 From: Mehmet Samet Duman Date: Sat, 4 Apr 2026 19:47:58 +0300 Subject: NOISSUE add GitHub Actions scripts for PR preparation and review management - Introduced `prepare.js` to validate PR mergeability and branch targeting. - Added `reviews.js` for automated review dismissal and posting. - Created `run` script to execute actions with GitHub context. - Implemented rate limiting in `withRateLimit.js` to manage API requests. - Added `supportedBranches.js` for branch classification logic. - Created `update-pinned.sh` for updating pinned dependencies. - Added `pinned.json` to manage pinned Nix dependencies. - Updated `libnbtplusplus` version from 2.3 to 3.0 and adjusted README accordingly. Signed-off-by: Mehmet Samet Duman --- ci/github-script/shell.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 ci/github-script/shell.nix (limited to 'ci/github-script/shell.nix') diff --git a/ci/github-script/shell.nix b/ci/github-script/shell.nix new file mode 100644 index 0000000000..ce8c719ffe --- /dev/null +++ b/ci/github-script/shell.nix @@ -0,0 +1,25 @@ +{ + system ? builtins.currentSystem, + pkgs ? (import ../../ci { inherit system; }).pkgs, +}: + +pkgs.callPackage ( + { + gh, + importNpmLock, + mkShell, + nodejs, + }: + mkShell { + packages = [ + gh + importNpmLock.hooks.linkNodeModulesHook + nodejs + ]; + + npmDeps = importNpmLock.buildNodeModules { + npmRoot = ./.; + inherit nodejs; + }; + } +) { } -- cgit 0.0.5-2-1-g0f52