mega-linter-runner 8.8.1-beta202507061123.0 → 8.8.1-beta202507071809.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,28 +3,28 @@
3
3
 
4
4
  pipeline {
5
5
  agent any
6
-
6
+
7
7
  environment {
8
8
  // All available variables are described in documentation
9
9
  // https://megalinter.io/latest/config-file/
10
10
  DEFAULT_WORKSPACE = "${WORKSPACE}"
11
-
11
+
12
12
  // Disable LLM Advisor for bot PRs (dependabot, renovate, etc.)
13
13
  // Note: Jenkins has limited access to PR metadata, this is a basic check
14
14
  LLM_ADVISOR_ENABLED = script {
15
15
  def branchName = env.BRANCH_NAME ?: env.GIT_BRANCH ?: ''
16
16
  def changeAuthor = env.CHANGE_AUTHOR ?: ''
17
17
  def changeTitle = env.CHANGE_TITLE ?: ''
18
-
18
+
19
19
  if (branchName =~ /^(dependabot|renovate)\/.*/ ||
20
20
  changeAuthor =~ /^(dependabot|renovate)(\[bot\])?$/ ||
21
21
  changeTitle =~ /^(chore|fix|deps?|bump)(\(.*\))?: /) {
22
22
  return 'false'
23
- }
23
+ }
24
24
  return 'true'
25
25
  }
26
26
  }
27
-
27
+
28
28
  stages {
29
29
  stage('MegaLinter') {
30
30
  agent {
@@ -11,7 +11,7 @@ variables:
11
11
  # All available variables are described in documentation
12
12
  # https://megalinter.io/latest/config-file/
13
13
  DEFAULT_WORKSPACE: $(System.DefaultWorkingDirectory)
14
-
14
+
15
15
  # Disable LLM Advisor for bot PRs (dependabot, renovate, etc.)
16
16
  # Note: Azure Pipelines has limited access to PR author info, this is a basic check
17
17
  LLM_ADVISOR_ENABLED: >-
@@ -6,20 +6,20 @@ image: atlassian/default-image:3
6
6
  pipelines:
7
7
  default:
8
8
  - parallel:
9
- - step:
10
- name: Run MegaLinter
11
- image: <%= DOCKER_IMAGE_NAME %>:<%= DOCKER_IMAGE_VERSION %>
12
- script:
13
- # Disable LLM Advisor for bot PRs (dependabot, renovate, etc.)
14
- # Note: Bitbucket has limited access to PR metadata, this is a basic check
15
- - |
16
- if [[ "$BITBUCKET_BRANCH" =~ ^(dependabot|renovate)/ ]] ||
17
- [[ "$BITBUCKET_PR_TITLE" =~ ^(chore|fix|deps?|bump)(\(.*\))?: ]] ||
18
- [[ "$BITBUCKET_STEP_TRIGGERER_UUID" =~ dependabot|renovate ]]; then
19
- export LLM_ADVISOR_ENABLED=false
20
- else
21
- export LLM_ADVISOR_ENABLED=true
22
- fi
23
- - export DEFAULT_WORKSPACE=$BITBUCKET_CLONE_DIR && bash /entrypoint.sh
24
- artifacts:
25
- - megalinter-reports/**
9
+ - step:
10
+ name: Run MegaLinter
11
+ image: <%= DOCKER_IMAGE_NAME %>:<%= DOCKER_IMAGE_VERSION %>
12
+ script:
13
+ # Disable LLM Advisor for bot PRs (dependabot, renovate, etc.)
14
+ # Note: Bitbucket has limited access to PR metadata, this is a basic check
15
+ - |
16
+ if [[ "$BITBUCKET_BRANCH" =~ ^(dependabot|renovate)/ ]] ||
17
+ [[ "$BITBUCKET_PR_TITLE" =~ ^(chore|fix|deps?|bump)(\(.*\))?: ]] ||
18
+ [[ "$BITBUCKET_STEP_TRIGGERER_UUID" =~ dependabot|renovate ]]; then
19
+ export LLM_ADVISOR_ENABLED=false
20
+ else
21
+ export LLM_ADVISOR_ENABLED=true
22
+ fi
23
+ - export DEFAULT_WORKSPACE=$BITBUCKET_CLONE_DIR && bash /entrypoint.sh
24
+ artifacts:
25
+ - megalinter-reports/**
@@ -20,7 +20,7 @@ run:
20
20
  - |
21
21
  cd repo
22
22
  export DEFAULT_WORKSPACE=$(pwd)
23
-
23
+
24
24
  # Disable LLM Advisor for bot PRs (dependabot, renovate, etc.)
25
25
  # Note: Concourse CI has limited access to PR metadata, this is a basic check
26
26
  # Users should manually configure this based on their pipeline setup
@@ -31,5 +31,5 @@ run:
31
31
  else
32
32
  export LLM_ADVISOR_ENABLED=true
33
33
  fi
34
-
34
+
35
35
  bash -ex /entrypoint.sh
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mega-linter-runner",
3
- "version": "8.8.1-beta202507061123.0",
3
+ "version": "8.8.1-beta202507071809.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/oxsecurity/megalinter.git"