Skip to content

feat: gauge for uptime and login on startup #27

feat: gauge for uptime and login on startup

feat: gauge for uptime and login on startup #27

Workflow file for this run

---
name: Linter
on:
pull_request:
branches:
- main
permissions:
statuses: write
jobs:
lint-code:
name: Lint code
runs-on: ubuntu-latest
steps:
- name: Checkout out
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Lint Code Base
uses: github/super-linter/slim@v5
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: false
# VALIDATE_PYTHON_BLACK: false
# VALIDATE_PYTHON_ISORT: false
# VALIDATE_PYTHON_MYPY: false
# VALIDATE_PYTHON_PYLINT: false
lint-commit:
name: Lint commit
runs-on: ubuntu-latest
steps:
- name: Checkout out
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Install dependencies
run: |
npm install @commitlint/cli @commitlint/config-conventional
echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js
- name: Validate all commits from PR
run: |
npx commitlint \
--from ${{ github.event.pull_request.base.sha }} \
--to ${{ github.event.pull_request.head.sha }} \
--verbose