Skip to content

Add prettier to ./hooks/pre-commit #821

Add prettier to ./hooks/pre-commit

Add prettier to ./hooks/pre-commit #821

Workflow file for this run

# Runs GitHub's semantic code analysis engine, CodeQL, against a repository's
# source code to find security vulnerabilities. It then automatically uploads
# the results to GitHub so they can be displayed in the repository's security
# tab.
name: codeql
on:
push:
branches: ['main']
paths: ['**.ts', '**.js', '**.json', '**.yml']
pull_request:
branches: ['main']
paths: ['**.ts', '**.js', '**.json', '**.yml']
types: [opened, synchronize, reopened]
jobs:
codeql:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, '[skip codeql]') }}
permissions:
# required for all workflows
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: javascript
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3