Skip to content

Conversation

@kubabuczak
Copy link
Collaborator

…Hub Actions

  • Created a new approval gate workflow to manage pull request approvals based on author association.
  • Updated existing workflows to use the approval gate, ensuring that checks are performed before proceeding with build and test jobs.
  • Changed event trigger from pull_request to pull_request_target for better security and context handling.

Description

What does this PR have in it?

Key Changes

Highlight the updates in specific files

Testing and Verification

How did you test these changes? What automated tests are added?

Related Issues

Jira tickets, GitHub issues, Support tickets...

PR Checklist

  • Code changes adhere to the project's coding standards.
  • Relevant unit and integration tests are included.
  • Documentation has been updated accordingly.
  • All tests pass locally.
  • The PR description follows the project's guidelines.

…Hub Actions

- Created a new approval gate workflow to manage pull request approvals based on author association.
- Updated existing workflows to use the approval gate, ensuring that checks are performed before proceeding with build and test jobs.
- Changed event trigger from `pull_request` to `pull_request_target` for better security and context handling.
kubabuczak and others added 9 commits December 19, 2025 16:27
… SHA reference

- Updated all workflows to replace actions/checkout@v2 and actions/checkout@v3 with actions/checkout@v6.
- Added support for referencing the merge commit SHA or the current SHA for better consistency in builds.
…ain permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…target event

- Added branch filters for the pull_request_target event in both build-test-push and prodsec workflows to include 'develop' and 'CSPL-4372-add-approval-gate-exec-in-target'. This enhances security and ensures workflows are triggered only for specified branches.
…and modify approval gate logic

- Added branch filters for the `pull_request_target` event to specify 'develop' and 'CSPL-4372-add-approval-gate-exec-in-target'.
- Updated the approval gate logic to conditionally set the environment based on the author association of the pull request, enhancing security for external contributors.
…st event

- Changed the event trigger from `pull_request_target` to `pull_request`, removing specific branch filters for enhanced flexibility in workflow execution.
- Added an approval gate job to the workflow to manage pull request approvals.
- Updated the check-formating job to depend on the approval gate, ensuring that checks are performed before proceeding with formatting steps.
- Enhanced the approval status job in the approval gate workflow by adding a debug statement to echo the pull request details, aiding in troubleshooting and visibility during workflow execution.
- Updated the approval status job in the approval gate workflow to output the pull request details in JSON format, improving visibility and debugging capabilities during workflow execution.
@coveralls
Copy link
Collaborator

coveralls commented Dec 19, 2025

Pull Request Test Coverage Report for Build 20376758279

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.008%) to 86.371%

Totals Coverage Status
Change from base Build 20342908338: 0.008%
Covered Lines: 10729
Relevant Lines: 12422

💛 - Coveralls

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