From e6db7d66b04982e9b205deb7384d00c11f8ccb41 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 23 Feb 2024 21:57:31 +0000 Subject: [PATCH 1/4] 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] --- .github/workflows/linter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 7a70ef3..4fa2cb6 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -37,7 +37,7 @@ jobs: - name: Lint Codebase id: super-linter - uses: super-linter/super-linter/slim@v5 + uses: super-linter/super-linter/slim@v6 env: DEFAULT_BRANCH: main FILTER_REGEX_EXCLUDE: dist/**/* From 4c5a33ee04b2796554fb2e4164c5823ae27bb12a Mon Sep 17 00:00:00 2001 From: Brian DeHamer Date: Fri, 23 Feb 2024 16:56:12 -0800 Subject: [PATCH 2/4] fix fetch-depth for linter checkout Signed-off-by: Brian DeHamer --- .github/workflows/linter.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 4fa2cb6..388cf10 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -20,6 +20,8 @@ jobs: - name: Checkout id: checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Setup Node.js id: setup-node From 0dcaa8ed2bd464a9e39702744cca018789258b63 Mon Sep 17 00:00:00 2001 From: Brian DeHamer Date: Fri, 23 Feb 2024 16:56:27 -0800 Subject: [PATCH 3/4] fix formatting for release script Signed-off-by: Brian DeHamer --- script/release | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/script/release b/script/release index d67bfb3..1ae8d07 100755 --- a/script/release +++ b/script/release @@ -28,9 +28,9 @@ BLUE='\033[0;34m' latest_tag=$(git describe --tags "$(git rev-list --tags --max-count=1)") if [[ -z "$latest_tag" ]]; then - # There are no existing release tags - echo -e "No tags found (yet) - Continue to create and push your first tag" - latest_tag="[unknown]" + # There are no existing release tags + echo -e "No tags found (yet) - Continue to create and push your first tag" + latest_tag="[unknown]" fi # Display the latest release tag @@ -42,11 +42,11 @@ read -r -p 'Enter a new release tag (vX.X.X format): ' new_tag # Validate the new release tag tag_regex='v[0-9]+\.[0-9]+\.[0-9]+$' 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 - # Release tag is not `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 + # Release tag is not `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 fi # Tag the new release From 4b5ff813f767fbc60005ad2c6512a3615901d696 Mon Sep 17 00:00:00 2001 From: Brian DeHamer Date: Fri, 23 Feb 2024 16:56:37 -0800 Subject: [PATCH 4/4] fix permissions for codeql workflow Signed-off-by: Brian DeHamer --- .github/workflows/codeql-analysis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 6ad7cb6..43942bf 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -10,6 +10,8 @@ on: schedule: - cron: '31 7 * * 3' +permissions: {} + jobs: analyze: name: Analyze