Merge branch 'master' into doc/update_salt-api_documentation
This commit is contained in:
24
.github/workflows/linter.yml
vendored
Normal file
24
.github/workflows/linter.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
name: Lint Code
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
name: Super Linter
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Lint code base
|
||||||
|
uses: github/super-linter@v3
|
||||||
|
env:
|
||||||
|
VALIDATE_DOCKERFILE_HADOLINT: true
|
||||||
|
VALIDATE_BASH: true
|
||||||
|
DEFAULT_BRANCH: master
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
1
.github/workflows/publish.yml
vendored
1
.github/workflows/publish.yml
vendored
@@ -96,7 +96,6 @@ jobs:
|
|||||||
name: Security analysis
|
name: Security analysis
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: publish
|
needs: publish
|
||||||
if: github.event_name == 'release'
|
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare metadata
|
- name: Prepare metadata
|
||||||
id: metadata
|
id: metadata
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
name: "Code Scanning"
|
name: Security analysis
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * 1'
|
- cron: '0 0 * * 1'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
code-scan:
|
security-analysis:
|
||||||
name: Trivy scan
|
name: Trivy scan
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
@@ -1,6 +1,9 @@
|
|||||||
# Check shellcheck wiki at:
|
# Check shellcheck wiki at:
|
||||||
# https://github.com/koalaman/shellcheck/wiki/SCXXXX
|
# https://github.com/koalaman/shellcheck/wiki/SCXXXX
|
||||||
|
|
||||||
|
# Allow following non-constant source
|
||||||
|
disable=SC1090
|
||||||
|
|
||||||
# Redirections are performed by the current shell before sudo is started.
|
# Redirections are performed by the current shell before sudo is started.
|
||||||
disable=SC2024
|
disable=SC2024
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user