From a27d70ed756d9794dcdf439fa3ae42f862d90331 Mon Sep 17 00:00:00 2001 From: Jack Jackson Date: Sun, 2 Mar 2025 22:01:09 -0800 Subject: [PATCH] Add first PR check To be followed by tests and `npm run build`, obviously! --- .gitea/workflows/pr.yaml | 23 +++++++++++++++++++ .../workflows/{main.yml => self-publish.yml} | 0 2 files changed, 23 insertions(+) create mode 100644 .gitea/workflows/pr.yaml rename .gitea/workflows/{main.yml => self-publish.yml} (100%) diff --git a/.gitea/workflows/pr.yaml b/.gitea/workflows/pr.yaml new file mode 100644 index 0000000..4d92b1b --- /dev/null +++ b/.gitea/workflows/pr.yaml @@ -0,0 +1,23 @@ +name: PR Checks + +on: + pull_request: + branches: + - main + +jobs: + pr-checks: + runs-on: ubuntu-latest + steps: + - name: Install Node + run: | + apt-get update && apt-get install -y nodejs + - name: Checkout + uses: actions/checkout@v4 + with: + # super-linter needs the full git history to get the + # list of files that changed across commits + fetch-depth: 0 + + - name: Super Linter + uses: super-linter/super-linter@v7.3.0 diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/self-publish.yml similarity index 100% rename from .gitea/workflows/main.yml rename to .gitea/workflows/self-publish.yml