From 480f8b17c524bdbde58bc677b228ef6b3c373eb0 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Fri, 6 Mar 2026 17:52:15 -0600 Subject: [PATCH] fix: use full GitHub URLs for Forgejo Actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Forgejo Actions runner can't find actions in its mirror registry. Changed all action references from short names to full GitHub URLs: - actions/checkout@v4 → https://github.com/actions/checkout@v4 - erlef/setup-beam@v1 → https://github.com/erlef/setup-beam@v1 - actions/cache@v4 → https://github.com/actions/cache@v4 - actions/setup-node@v4 → https://github.com/actions/setup-node@v4 - actions/upload-artifact@v4 → https://github.com/actions/upload-artifact@v4 - docker/* actions → https://github.com/docker/* This fixes the 'repository not found' errors when Forgejo tries to clone actions from data.forgejo.org. --- .forgejo/workflows/production.yml | 28 ++++++++++++++-------------- .forgejo/workflows/test.yml | 24 ++++++++++++------------ 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.forgejo/workflows/production.yml b/.forgejo/workflows/production.yml index 4d17424d..f7aab076 100644 --- a/.forgejo/workflows/production.yml +++ b/.forgejo/workflows/production.yml @@ -29,24 +29,24 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://github.com/actions/checkout@v4 - name: Set up Elixir - uses: erlef/setup-beam@v1 + uses: https://github.com/erlef/setup-beam@v1 with: version-type: strict elixir-version: '1.18.1' otp-version: '27.2' - name: Cache deps - uses: actions/cache@v4 + uses: https://github.com/actions/cache@v4 with: path: deps key: ${{ runner.os }}-deps-${{ hashFiles('mix.lock') }} restore-keys: ${{ runner.os }}-deps- - name: Cache _build - uses: actions/cache@v4 + uses: https://github.com/actions/cache@v4 with: path: _build key: ${{ runner.os }}-build-${{ hashFiles('lib/**/*.ex') }}-${{ hashFiles('mix.lock') }} @@ -92,29 +92,29 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://github.com/actions/checkout@v4 - name: Set up Elixir - uses: erlef/setup-beam@v1 + uses: https://github.com/erlef/setup-beam@v1 with: version-type: strict elixir-version: '1.18.1' otp-version: '27.2' - name: Set up Node.js - uses: actions/setup-node@v4 + uses: https://github.com/actions/setup-node@v4 with: node-version: '20' - name: Cache deps - uses: actions/cache@v4 + uses: https://github.com/actions/cache@v4 with: path: deps key: ${{ runner.os }}-deps-${{ hashFiles('mix.lock') }} restore-keys: ${{ runner.os }}-deps- - name: Cache _build - uses: actions/cache@v4 + uses: https://github.com/actions/cache@v4 with: path: _build key: ${{ runner.os }}-build-${{ hashFiles('lib/**/*.ex') }}-${{ hashFiles('mix.lock') }} @@ -162,7 +162,7 @@ jobs: - name: Upload test results if: failure() - uses: actions/upload-artifact@v4 + uses: https://github.com/actions/upload-artifact@v4 with: name: playwright-report path: e2e/playwright-report/ @@ -175,15 +175,15 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://github.com/actions/checkout@v4 with: fetch-depth: 0 # Need full history for git operations - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: https://github.com/docker/setup-buildx-action@v3 - name: Log in to Container Registry - uses: docker/login-action@v3 + uses: https://github.com/docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ secrets.REGISTRY_USERNAME }} @@ -200,7 +200,7 @@ jobs: echo "Full image tag: ${TAG}" - name: Build and push Docker image - uses: docker/build-push-action@v5 + uses: https://github.com/docker/build-push-action@v5 with: context: . file: k8s/Dockerfile diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 017eb77f..068ee516 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -32,24 +32,24 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://github.com/actions/checkout@v4 - name: Set up Elixir - uses: erlef/setup-beam@v1 + uses: https://github.com/erlef/setup-beam@v1 with: version-type: strict elixir-version: '1.18.1' otp-version: '27.2' - name: Cache deps - uses: actions/cache@v4 + uses: https://github.com/actions/cache@v4 with: path: deps key: ${{ runner.os }}-deps-${{ hashFiles('mix.lock') }} restore-keys: ${{ runner.os }}-deps- - name: Cache _build - uses: actions/cache@v4 + uses: https://github.com/actions/cache@v4 with: path: _build key: ${{ runner.os }}-build-${{ hashFiles('lib/**/*.ex') }}-${{ hashFiles('mix.lock') }} @@ -77,7 +77,7 @@ jobs: - name: Upload coverage reports if: always() - uses: actions/upload-artifact@v4 + uses: https://github.com/actions/upload-artifact@v4 with: name: coverage-report path: cover/ @@ -103,29 +103,29 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://github.com/actions/checkout@v4 - name: Set up Elixir - uses: erlef/setup-beam@v1 + uses: https://github.com/erlef/setup-beam@v1 with: version-type: strict elixir-version: '1.18.1' otp-version: '27.2' - name: Set up Node.js - uses: actions/setup-node@v4 + uses: https://github.com/actions/setup-node@v4 with: node-version: '20' - name: Cache deps - uses: actions/cache@v4 + uses: https://github.com/actions/cache@v4 with: path: deps key: ${{ runner.os }}-deps-${{ hashFiles('mix.lock') }} restore-keys: ${{ runner.os }}-deps- - name: Cache _build - uses: actions/cache@v4 + uses: https://github.com/actions/cache@v4 with: path: _build key: ${{ runner.os }}-build-${{ hashFiles('lib/**/*.ex') }}-${{ hashFiles('mix.lock') }} @@ -175,7 +175,7 @@ jobs: - name: Upload test results if: failure() - uses: actions/upload-artifact@v4 + uses: https://github.com/actions/upload-artifact@v4 with: name: playwright-report path: e2e/playwright-report/ @@ -183,7 +183,7 @@ jobs: - name: Upload screenshots on failure if: failure() - uses: actions/upload-artifact@v4 + uses: https://github.com/actions/upload-artifact@v4 with: name: playwright-screenshots path: e2e/test-results/