mirror of
https://github.com/jlengrand/coffeechat.git
synced 2026-03-10 08:11:20 +00:00
remove CodeQL GitHub workflow
This commit is contained in:
43
.github/workflows/codeql-analysis.yml
vendored
43
.github/workflows/codeql-analysis.yml
vendored
@@ -1,43 +0,0 @@
|
||||
name: "CodeQL"
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
schedule:
|
||||
- cron: '0 0 * * 6' # Saturdays at midnight
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: [ 'javascript' ]
|
||||
# https://git.io/codeql-language-support
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v2
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
|
||||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java)
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v2
|
||||
|
||||
# Perform code analysis
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v2
|
||||
9
.github/workflows/generate-readme.yml
vendored
9
.github/workflows/generate-readme.yml
vendored
@@ -12,18 +12,19 @@ jobs:
|
||||
generate-readme:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Checkout this repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.0
|
||||
with:
|
||||
token: ${{ secrets.ACTIONS_TOKEN }}
|
||||
|
||||
- name: Setting up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
uses: actions/setup-node@v4.0.2
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: 'v20.12.2'
|
||||
|
||||
- name: Restore Node.js modules (or cache them)
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4.0.2
|
||||
with:
|
||||
path: ~/.npm
|
||||
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }}
|
||||
|
||||
9
.github/workflows/prettify-json.yml
vendored
9
.github/workflows/prettify-json.yml
vendored
@@ -9,21 +9,22 @@ jobs:
|
||||
prettify-json:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Checkout this repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.0
|
||||
with:
|
||||
token: ${{ secrets.ACTIONS_TOKEN }}
|
||||
|
||||
- name: Setting up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
uses: actions/setup-node@v4.0.2
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: 'v20.12.2'
|
||||
|
||||
- name: Run prettier
|
||||
run: npx prettier --write people.json
|
||||
|
||||
- name: Commit the changes
|
||||
uses: EndBug/add-and-commit@v9
|
||||
uses: EndBug/add-and-commit@v9.1.4
|
||||
with:
|
||||
add: 'people.json'
|
||||
author_name: 'GitHub Actions'
|
||||
|
||||
16
.github/workflows/validate-markdown.yml
vendored
16
.github/workflows/validate-markdown.yml
vendored
@@ -10,15 +10,15 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout this repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
|
||||
- name: Setting up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
uses: actions/setup-node@v4.0.2
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: 'v20.12.2'
|
||||
|
||||
- name: Installing markdownlint-cli2
|
||||
run: npm i -g markdownlint-cli2
|
||||
|
||||
- name: Check the Markdown
|
||||
run: markdownlint-cli2-config .markdownlint.json "scripts/README-TEMPLATE.md"
|
||||
- name: Validate Markdown (${{ matrix.configs.which }})
|
||||
uses: DavidAnson/markdownlint-cli2-action@v16.0.0
|
||||
with:
|
||||
config: ".markdownlint.json"
|
||||
globs: "scripts/README-TEMPLATE.md"
|
||||
|
||||
Reference in New Issue
Block a user