ayaports/.forgejo/workflows/action.yaml
Antoine Martin a1a2cbe858
All checks were successful
/ lint (pull_request) Successful in 23s
shim gitlab variables
2024-08-11 17:06:28 -04:00

21 lines
580 B
YAML

on:
pull_request:
types: [ assigned, opened, synchronize, reopened ]
jobs:
lint:
run-name: lint
runs-on: x86_64
container:
image: alpinelinux/apkbuild-lint-tools:latest
env:
CI_PROJECT_DIR: ${{ github.workspace }}
CI_DEBUG_BUILD: ${{ runner.debug }}
CI_MERGE_REQUEST_PROJECT_URL: ${{ github.server.url }}/${{ github.repository }}
CI_MERGE_REQUEST_BRANCH_NAME: ${{ github.base.ref }}
steps:
- run: doas apk add nodejs git
- uses: actions/checkout@v4
with:
fetch-depth: 500
- run: lint