Bump super-linter/super-linter from 5 to 6 (#53)
* Bump super-linter/super-linter from 5 to 6 Bumps [super-linter/super-linter](https://github.com/super-linter/super-linter) from 5 to 6. - [Release notes](https://github.com/super-linter/super-linter/releases) - [Changelog](https://github.com/super-linter/super-linter/blob/main/CHANGELOG.md) - [Commits](https://github.com/super-linter/super-linter/compare/v5...v6) --- updated-dependencies: - dependency-name: super-linter/super-linter dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Update linter.yml * Update codeql-analysis.yml * Update functional.yml * Update release --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rimo <4203620+yizhoumo@users.noreply.github.com>
This commit is contained in:
12
.github/workflows/codeql-analysis.yml
vendored
12
.github/workflows/codeql-analysis.yml
vendored
@@ -10,17 +10,17 @@ on:
|
|||||||
schedule:
|
schedule:
|
||||||
- cron: '31 7 * * 3'
|
- cron: '31 7 * * 3'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
actions: read
|
||||||
|
checks: write
|
||||||
|
contents: read
|
||||||
|
security-events: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
analyze:
|
analyze:
|
||||||
name: Analyze
|
name: Analyze
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
permissions:
|
|
||||||
actions: read
|
|
||||||
checks: write
|
|
||||||
contents: read
|
|
||||||
security-events: write
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|||||||
2
.github/workflows/functional.yml
vendored
2
.github/workflows/functional.yml
vendored
@@ -3,6 +3,8 @@ on:
|
|||||||
schedule:
|
schedule:
|
||||||
- cron: '0 2 * * 6'
|
- cron: '0 2 * * 6'
|
||||||
|
|
||||||
|
permissions: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
functional:
|
functional:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
4
.github/workflows/linter.yml
vendored
4
.github/workflows/linter.yml
vendored
@@ -20,6 +20,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
|
||||||
@@ -34,7 +36,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Lint Codebase
|
- name: Lint Codebase
|
||||||
id: super-linter
|
id: super-linter
|
||||||
uses: super-linter/super-linter/slim@v5
|
uses: super-linter/super-linter/slim@v6
|
||||||
env:
|
env:
|
||||||
DEFAULT_BRANCH: main
|
DEFAULT_BRANCH: main
|
||||||
FILTER_REGEX_EXCLUDE: dist/**/*
|
FILTER_REGEX_EXCLUDE: dist/**/*
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ latest_tag=$(git describe --tags "$(git rev-list --tags --max-count=1)")
|
|||||||
|
|
||||||
# if the latest_tag is empty, then there are no tags - let the user know
|
# if the latest_tag is empty, then there are no tags - let the user know
|
||||||
if [[ -z "$latest_tag" ]]; then
|
if [[ -z "$latest_tag" ]]; then
|
||||||
echo -e "No tags found (yet) - continue to create your first tag and push it"
|
echo -e "No tags found (yet) - continue to create your first tag and push it"
|
||||||
latest_tag="[unknown]"
|
latest_tag="[unknown]"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "The latest release tag is: ${BLUE}${latest_tag}${OFF}"
|
echo -e "The latest release tag is: ${BLUE}${latest_tag}${OFF}"
|
||||||
@@ -31,10 +31,10 @@ read -r -p 'New Release Tag (vX.X.X format): ' new_tag
|
|||||||
|
|
||||||
tag_regex='v[0-9]+\.[0-9]+\.[0-9]+$'
|
tag_regex='v[0-9]+\.[0-9]+\.[0-9]+$'
|
||||||
if echo "$new_tag" | grep -q -E "$tag_regex"; then
|
if echo "$new_tag" | grep -q -E "$tag_regex"; then
|
||||||
echo -e "Tag: ${BLUE}$new_tag${OFF} is valid"
|
echo -e "Tag: ${BLUE}$new_tag${OFF} is valid"
|
||||||
else
|
else
|
||||||
echo -e "Tag: ${BLUE}$new_tag${OFF} is ${RED}not valid${OFF} (must be in vX.X.X format)"
|
echo -e "Tag: ${BLUE}$new_tag${OFF} is ${RED}not valid${OFF} (must be in vX.X.X format)"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git tag -a "$new_tag" -m "$new_tag Release"
|
git tag -a "$new_tag" -m "$new_tag Release"
|
||||||
|
|||||||
Reference in New Issue
Block a user