mirror of
https://github.com/directus/directus.git
synced 2026-01-23 07:47:58 -05:00
* Add "authenticate" filter hook that allows custom auth check * Start on test * Update Jest, restructure API tests, start implementing authenticate test * Move access token verify to util function * Ensure jest can show inline warnings on correct lines * Update is-directus-jwt to use jsonwebtoken decode + add tests * Remove unused package * Tweak and finish + test authenticate * Tweak test * Add authenticate filter to docs * Don't scan tests for codeql * No seriously, ignore tests
40 lines
821 B
YAML
40 lines
821 B
YAML
name: CodeQL Analysis
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
should_skip:
|
|
required: false
|
|
type: string
|
|
schedule:
|
|
- cron: '42 23 * * 5'
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze
|
|
if: inputs.should_skip != 'true'
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
strategy:
|
|
fail-fast: true
|
|
matrix:
|
|
language:
|
|
- javascript
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v1
|
|
with:
|
|
config-file: ./.github/codeql/codeql-config.yml
|
|
|
|
- name: Autobuild
|
|
uses: github/codeql-action/autobuild@v1
|
|
|
|
- name: Perform CodeQL analysis
|
|
uses: github/codeql-action/analyze@v1
|