From d0b4428af7dac8af519f461e3472dfeb3581b646 Mon Sep 17 00:00:00 2001 From: "hugh-hackman[bot]" <266376744+hugh-hackman[bot]@users.noreply.github.com> Date: Sun, 15 Mar 2026 16:55:37 +0000 Subject: [PATCH] fix: remove Docker container from CI, use setup-node instead Eliminates Docker Hub rate limit by replacing container: node:22 with setup-node@v4. Also fixes release workflow branch creation order. Closes privilegedescalation/.github#14 Co-Authored-By: Paperclip --- .github/workflows/plugin-ci.yaml | 7 ++++++- .github/workflows/plugin-release.yaml | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/plugin-ci.yaml b/.github/workflows/plugin-ci.yaml index 175c280..dad97fe 100644 --- a/.github/workflows/plugin-ci.yaml +++ b/.github/workflows/plugin-ci.yaml @@ -12,13 +12,18 @@ on: jobs: ci: runs-on: local-ubuntu-latest - container: node:${{ inputs.node-version }} timeout-minutes: 10 steps: - name: Checkout uses: actions/checkout@v4 + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: ${{ inputs.node-version }} + cache: 'npm' + - name: Install dependencies run: npm ci diff --git a/.github/workflows/plugin-release.yaml b/.github/workflows/plugin-release.yaml index 84defd4..c852162 100644 --- a/.github/workflows/plugin-release.yaml +++ b/.github/workflows/plugin-release.yaml @@ -133,10 +133,10 @@ jobs: run: | VERSION="${{ inputs.version }}" BRANCH="release/v${VERSION}" + git checkout -b "$BRANCH" git add package.json package-lock.json artifacthub-pkg.yml git commit -m "release: v${VERSION}" git tag "v${VERSION}" - git checkout -b "$BRANCH" git push origin "$BRANCH" --tags - name: Install GitHub CLI