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 name: Check Transpiled JavaScript
on: on:
pull_request:
branches:
- main
push: push:
branches: branches:
- main - main
pull_request:
permissions: permissions:
contents: read contents: read

View File

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

View File

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

View File

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