Skip to content

CI: Pin actions version and avoid dependabot autorun - #6000

Merged
SMoraisAnsys merged 9 commits into
mainfrom
ci/pin-actions-version-and-avoid-dependabot-autorun
Apr 11, 2025
Merged

SMoraisAnsys merged 9 commits into
mainfrom
ci/pin-actions-version-and-avoid-dependabot-autorun

Conversation

@SMoraisAnsys

@SMoraisAnsys SMoraisAnsys commented Apr 3, 2025 •

Copy link
Copy Markdown
Collaborator

Description

This PR consists in following the good practices and helps mitigating the risk of a bad actor adding a backdoor to the actions repository, see https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions?learn=getting_started#using-third-party-actions

The pin to a full length commit SHA is only performed for external github actions and not for our own actions, I assume we trust ansys actions here :)

Issue linked

Associated to #5524

Checklist

  • I have tested my changes locally.
  • I have added necessary documentation or updated existing documentation.
  • I have followed the coding style guidelines of this project.
  • I have added appropriate tests (unit, integration, system).
  • I have reviewed my changes before submitting this pull request.
  • I have linked the issue or issues that are solved by the PR if any.
  • I have agreed with the Contributor License Agreement (CLA).

@ansys-reviewer-bot

Copy link
Copy Markdown
Contributor

Thanks for opening a Pull Request. If you want to perform a review write a comment saying:

@ansys-reviewer-bot review

@SMoraisAnsys SMoraisAnsys self-assigned this Apr 3, 2025
@github-actions github-actions Bot added the maintenance Package and maintenance related label Apr 3, 2025
@codecov

codecov Bot commented Apr 3, 2025 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.12%. Comparing base (706bead) to head (bbacd24).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6000   +/-   ##
=======================================
  Coverage   85.12%   85.12%           
=======================================
  Files         166      166           
  Lines       62955    62955           
=======================================
+ Hits        53588    53591    +3     
+ Misses       9367     9364    -3     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread .github/workflows/label.yml Outdated
Comment thread .github/workflows/label.yml Outdated
Comment thread .github/workflows/label.yml Outdated
Comment thread .github/workflows/label.yml Outdated
Comment thread .github/workflows/label.yml Outdated
@SMoraisAnsys
SMoraisAnsys merged commit 86cff64 into main Apr 11, 2025
@SMoraisAnsys
SMoraisAnsys deleted the ci/pin-actions-version-and-avoid-dependabot-autorun branch April 11, 2025 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Package and maintenance related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants