Update fetch depth

This commit is contained in:
Nick Alteen 2024-02-22 09:34:06 -05:00
parent 8f6845463f
commit 89d575c59c
4 changed files with 46 additions and 36 deletions

View File

@ -10,10 +10,12 @@
name: Check Transpiled JavaScript
on:
pull_request:
branches:
- main
push:
branches:
- main
pull_request:
permissions:
contents: read

View File

@ -2,6 +2,8 @@ name: Continuous Integration
on:
pull_request:
branches:
- main
push:
branches:
- main

View File

@ -9,30 +9,32 @@
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
name: CodeQL
on:
push:
branches: [ main ]
branches:
- main
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
branches:
- main
schedule:
- cron: '24 5 * * 6'
permissions:
actions: read
contents: read
security-events: write
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
language: ['javascript']
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

View File

@ -2,6 +2,8 @@ name: Lint Codebase
on:
pull_request:
branches:
- main
push:
branches:
- main
@ -20,6 +22,8 @@ jobs:
- name: Checkout
id: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
id: setup-node