Skip to content

ci: trigger Forgejo workflow run to verify .forgejo/workflows routing. #8

ci: trigger Forgejo workflow run to verify .forgejo/workflows routing.

ci: trigger Forgejo workflow run to verify .forgejo/workflows routing. #8

Workflow file for this run

name: CI (GitHub)
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
concurrency:
group: ci-github-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test (npm smoke)
if: contains(github.server_url, 'github.com')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
- run: npm ci
- run: npm run test:server
- run: npm run test:tags
dco:
name: DCO sign-off
if: contains(github.server_url, 'github.com') && github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: bash .github/scripts/verify-dco.sh
required:
name: Required checks
if: always() && contains(github.server_url, 'github.com')
runs-on: ubuntu-latest
needs: [test, dco]
steps:
- run: |
if [[ "${{ needs.test.result }}" != "success" ]]; then exit 1; fi
if [[ "${{ github.event_name }}" == "pull_request" && "${{ needs.dco.result }}" != "success" ]]; then exit 1; fi
echo "All required CI checks passed."