Merge branch 'actions:main' into main
This commit is contained in:
@@ -12,7 +12,8 @@ These are the workflow files for helping people get started with GitHub Actions.
|
|||||||
|
|
||||||
### Directory structure
|
### Directory structure
|
||||||
|
|
||||||
* [ci](ci): solutions for Continuous Integration and Deployments
|
* [ci](ci): solutions for Continuous Integration workflows.
|
||||||
|
* [deployments](deployments): solutions for Deployment workflows.
|
||||||
* [automation](automation): solutions for automating workflows.
|
* [automation](automation): solutions for automating workflows.
|
||||||
* [code-scanning](code-scanning): starter workflows for [Code Scanning](https://github.com/features/security)
|
* [code-scanning](code-scanning): starter workflows for [Code Scanning](https://github.com/features/security)
|
||||||
* [icons](icons): svg icons for the relevant template
|
* [icons](icons): svg icons for the relevant template
|
||||||
|
|||||||
@@ -2,5 +2,5 @@
|
|||||||
"name": "Node.js",
|
"name": "Node.js",
|
||||||
"description": "Build and test a Node.js project with npm.",
|
"description": "Build and test a Node.js project with npm.",
|
||||||
"iconName": "nodejs",
|
"iconName": "nodejs",
|
||||||
"categories": ["Continuous integration", "JavaScript", "npm", "React", "Angular"]
|
"categories": ["Continuous integration", "JavaScript", "npm", "React", "Angular", "Vue"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "Super Linter - Run Linters for several languages",
|
||||||
|
"description": "Run linters for several languages on your code base for changed files",
|
||||||
|
"iconName": "octicon check-circle",
|
||||||
|
"categories": ["code-quality", "code-review"]
|
||||||
|
}
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
# This workflow executes several linters on changed files based on languages used in your code base whenever
|
||||||
|
# you push a code or open a pull request.
|
||||||
|
#
|
||||||
|
# You can adjust the behavior by modifying this file.
|
||||||
|
# For more information, see:
|
||||||
|
# https://github.com/github/super-linter
|
||||||
|
name: Lint Code Base
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ $default-branch ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ $default-branch ]
|
||||||
|
jobs:
|
||||||
|
run-lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
# Full git history is needed to get a proper list of changed files within `super-linter`
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Lint Code Base
|
||||||
|
uses: github/super-linter@v4
|
||||||
|
env:
|
||||||
|
VALIDATE_ALL_CODEBASE: false
|
||||||
|
DEFAULT_BRANCH: $default-branch
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Reference in New Issue
Block a user