1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

style: improve code style of SCSS & YAML

This commit is contained in:
Cotes Chung
2023-03-16 03:36:52 +08:00
parent 02b7bd5095
commit 3c7934abf0
12 changed files with 181 additions and 117 deletions

View File

@@ -1,12 +1,12 @@
name: 'CodeQL'
name: "CodeQL"
on:
push:
paths: [ '**.js' ]
paths: ["**.js"]
pull_request:
paths: [ '**.js' ]
paths: ["**.js"]
schedule:
- cron: '0 0 * * 5'
- cron: "0 0 * * 5"
jobs:
analyze:
@@ -20,25 +20,25 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
language: ["javascript"]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
steps:
- name: Checkout repository
uses: actions/checkout@v3
- 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 }}'
# 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#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: '/language:${{ matrix.language }}'
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{ matrix.language }}"

View File

@@ -1,15 +1,15 @@
name: 'Style Lint'
name: "Style Lint"
on:
push:
branches-ignore:
- 'production'
- 'docs'
- "production"
- "docs"
paths:
- '_sass/**/*.scss'
- "_sass/**/*.scss"
pull_request:
paths:
- '_sass/**/*.scss'
- "_sass/**/*.scss"
jobs:
stylelint: