-
Notifications
You must be signed in to change notification settings - Fork 0
chore(ci): add ketryx reporting workflow for compliance and tracking #34
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,42 @@ | |||||||||||||||||||||||
| name: 'Ketryx report' | |||||||||||||||||||||||
|
|
|||||||||||||||||||||||
| on: | |||||||||||||||||||||||
| workflow_call: | |||||||||||||||||||||||
| inputs: | |||||||||||||||||||||||
| build-name: | |||||||||||||||||||||||
| description: 'The build name to report' | |||||||||||||||||||||||
| required: true | |||||||||||||||||||||||
| type: string | |||||||||||||||||||||||
| secrets: | |||||||||||||||||||||||
| KETRYX_PROJECT: | |||||||||||||||||||||||
| description: 'Ketryx project ID' | |||||||||||||||||||||||
| required: true | |||||||||||||||||||||||
| KETRYX_API_KEY: | |||||||||||||||||||||||
| description: 'Ketryx API key' | |||||||||||||||||||||||
| required: true | |||||||||||||||||||||||
|
|
|||||||||||||||||||||||
| jobs: | |||||||||||||||||||||||
| report-to-ketryx: | |||||||||||||||||||||||
| runs-on: ubuntu-latest | |||||||||||||||||||||||
| steps: | |||||||||||||||||||||||
muhabalwan-aginx marked this conversation as resolved.
Show resolved
Hide resolved
|
|||||||||||||||||||||||
| - name: Download SDK test results | |||||||||||||||||||||||
| uses: actions/download-artifact@v4 | |||||||||||||||||||||||
| continue-on-error: true | |||||||||||||||||||||||
| with: | |||||||||||||||||||||||
| name: test-results-sdk | |||||||||||||||||||||||
| path: test-results/sdk/ | |||||||||||||||||||||||
|
|
|||||||||||||||||||||||
| - name: Download CLI test results | |||||||||||||||||||||||
| uses: actions/download-artifact@v4 | |||||||||||||||||||||||
| continue-on-error: true | |||||||||||||||||||||||
| with: | |||||||||||||||||||||||
| name: test-results-cli | |||||||||||||||||||||||
| path: test-results/cli/ | |||||||||||||||||||||||
|
|
|||||||||||||||||||||||
| - name: Report to Ketryx | |||||||||||||||||||||||
| uses: Ketryx/ketryx-github-action@v1.4.0 | |||||||||||||||||||||||
| with: | |||||||||||||||||||||||
| project: ${{ secrets.KETRYX_PROJECT }} | |||||||||||||||||||||||
| api-key: ${{ secrets.KETRYX_API_KEY }} | |||||||||||||||||||||||
| build-name: ${{ inputs.build-name }} | |||||||||||||||||||||||
| test-junit-path: test-results/**/*.xml | |||||||||||||||||||||||
|
Comment on lines
+20
to
+42
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
Copilot AutofixAI 1 day ago To fix the issue, explicitly set the
Suggested changeset
1
.github/workflows/_report-to-ketryx.yml
Copilot is powered by AI and may make mistakes. Always verify output.
Positive FeedbackNegative Feedback
Refresh and try again.
|
|||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,6 +16,9 @@ build/ | |
| coverage/ | ||
| *.lcov | ||
|
|
||
| # Test results | ||
| test-results/ | ||
|
|
||
| # IDE | ||
| .vscode/ | ||
| .idea/ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.