Skip to content

TT-17607: Fix dep-guard running on tag push#8355

Merged
lghiur merged 1 commit into
release-5.14.0from
TT-17607-fix-dep-guard-release-5.14.0
Jun 24, 2026
Merged

TT-17607: Fix dep-guard running on tag push#8355
lghiur merged 1 commit into
release-5.14.0from
TT-17607-fix-dep-guard-release-5.14.0

Conversation

@probelabs

@probelabs probelabs Bot commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Fixes https://tyktech.atlassian.net/browse/TT-17607


Requested by: @U3QNEPT6K
Trace: 299f0fa523d3e354bda7956f525a8198
Generated with Visor AI Assistant

@sentinelone-cnapp-eu1

Copy link
Copy Markdown

SentinelOne CNS Hardcoded Secret Detector
✅ Congratulations, your code is safe

SentinelOne CNS is a cloud-agnostic, agentless CSPM & CWPP solution that continuously detects and prevents vulnerabilities that have the highest probability of being exploited in Azure, AWS, Google Cloud, and Kubernetes.

@github-actions

Copy link
Copy Markdown
Contributor

🚨 Jira Linter Failed

Commit: 0405d9e
Failed at: 2026-06-24 13:35:22 UTC

The Jira linter failed to validate your PR. Please check the error details below:

🔍 Click to view error details
failed to get Jira issue: failed to fetch Jira issue TT-17607: Issue does not exist or you do not have permission to see it.: request failed. Please analyze the request body for more details. Status code: 404

Next Steps

  • Ensure your branch name contains a valid Jira ticket ID (e.g., ABC-123)
  • Verify your PR title matches the branch's Jira ticket ID
  • Check that the Jira ticket exists and is accessible

This comment will be automatically deleted once the linter passes.

@probelabs

probelabs Bot commented Jun 24, 2026

Copy link
Copy Markdown
Contributor Author

This PR fixes an issue where the dep-guard CI job was being executed on tag pushes. A condition has been added to the job to ensure it only runs on pull_request events, preventing unnecessary workflow runs and resource consumption during release tagging.

Files Changed Analysis

  • .github/workflows/plugin-compiler-build.yml: A single line (if: github.event_name == 'pull_request') was added to the dep-guard job definition. This is a standard and straightforward change to control job execution within a GitHub Actions workflow.

Architecture & Impact Assessment

  • What this PR accomplishes: It prevents the dep-guard job from running on tag pushes, restricting its execution to pull requests only. This optimizes CI resource usage.
  • Key technical changes introduced: The PR adds an if condition to a job within a GitHub Actions workflow file.
  • Affected system components: The change is isolated to the CI/CD pipeline. No application code or infrastructure is affected.

Scope Discovery & Context Expansion

  • The impact of this change is confined to the repository's CI/CD process, specifically the plugin-compiler-build.yml workflow. The fix suggests that the workflow is triggered by multiple events (including pushes and pull requests), and this change correctly scopes the dep-guard job to only run for pull requests, which is the intended context for dependency scanning.
Metadata
  • Review Effort: 1 / 5
  • Primary Label: chore

Powered by Visor from Probelabs

Last updated: 2026-06-24T13:35:59.237Z | Triggered by: pr_opened | Commit: 0405d9e

💡 TIP: You can chat with Visor using /visor ask <your question>

@probelabs

probelabs Bot commented Jun 24, 2026

Copy link
Copy Markdown
Contributor Author

✅ Performance Check Passed

No performance issues found – changes LGTM.

✅ Security Check Passed

No security issues found – changes LGTM.

\n\n \n\n

✅ Performance Check Passed

No performance issues found – changes LGTM.

\n\n

✅ Quality Check Passed

No quality issues found – changes LGTM.


Powered by Visor from Probelabs

Last updated: 2026-06-24T13:35:57.790Z | Triggered by: pr_opened | Commit: 0405d9e

💡 TIP: You can chat with Visor using /visor ask <your question>

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@lghiur
lghiur merged commit 4adefdb into release-5.14.0 Jun 24, 2026
29 of 31 checks passed
@lghiur
lghiur deleted the TT-17607-fix-dep-guard-release-5.14.0 branch June 24, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants