-
Notifications
You must be signed in to change notification settings - Fork 18
Run tests on a schedule and integrate with Datadog's test optimization product #342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- 8126:8126 | ||
steps: | ||
- name: Configure Datadog Test Optimization | ||
uses: datadog/test-visibility-github-action@v2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟠 Code Vulnerability
Workflow depends on a GitHub actions pinned by tag instead of a hash. (...read more)
Pin GitHub Actions by commit hash to ensure supply chain security.
Using a branch (@main
) or tag (@v1
) allows for implicit updates, which can introduce unexpected or malicious changes. Instead, always pin actions to a full length commit SHA. You can find the commit SHA for the latest tag from the action’s repository and ensure frequent updates via auto-updaters such as dependabot. Include a comment with the corresponding full-length SemVer tag for clarity:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Datadog Summary✅ Code Quality ❌ Code Security ❌ Dependencies Next StepsFix this code security issue introduced by this PR: 🔴 High: github-actions/unpinned-actions
Fix these dependency issues introduced by this PR: 🔴 High: certifi 2022.12.7
🔴 High: setuptools 67.6.0
🟠 Medium: aiohttp 3.9.5
Was this helpful? Give us feedback! |
deepdiff==6.7.1 | ||
aiohttp==3.9.5 | ||
tqdm==4.66.2 | ||
certifi>=2022.12.7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tqdm==4.66.2 | ||
certifi>=2022.12.7 | ||
python-dateutil | ||
setuptools>=67.6.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
click==8.1.7 | ||
configobj==5.0.8 | ||
deepdiff==6.7.1 | ||
aiohttp==3.9.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
configobj==5.0.8 | ||
deepdiff==6.7.1 | ||
aiohttp==3.9.5 | ||
tqdm==4.66.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,18 @@ | |||
boto3==1.35.91 | |||
click==8.1.7 | |||
configobj==5.0.8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- name: Checkout code | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | ||
- name: Configure Datadog Test Optimization | ||
uses: datadog/test-visibility-github-action@v2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 High: Code Vulnerability
Workflow depends on a GitHub actions pinned by tag instead of a hash. (...read more)
Pin GitHub Actions by commit hash to ensure supply chain security.
Using a branch (@main
) or tag (@v1
) allows for implicit updates, which can introduce unexpected or malicious changes. Instead, always pin actions to a full length commit SHA. You can find the commit SHA for the latest tag from the action’s repository and ensure frequent updates via auto-updaters such as dependabot. Include a comment with the corresponding full-length SemVer tag for clarity:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
What does this PR do?
Integrate with Datadog's test optimization product and run the tests more regularly.
Description of the Change
Configure the github actions.