Skip to content

Comments

fix: use ${GITHUB_ACTION_PATH} when referencing external files#7

Merged
Ron (rjaegers) merged 2 commits intomainfrom
feature/fix-action-usage-from-external-repository
Jan 30, 2025
Merged

fix: use ${GITHUB_ACTION_PATH} when referencing external files#7
Ron (rjaegers) merged 2 commits intomainfrom
feature/fix-action-usage-from-external-repository

Conversation

@rjaegers
Copy link
Member

@rjaegers Ron (rjaegers) commented Jan 30, 2025

🚀 Hey, I have created a Pull Request

Description of changes

✔️ Checklist

  • I have followed the contribution guidelines for this repository
  • I have added tests for new behavior, and have not broken any existing tests
  • I have added or updated relevant documentation

@github-actions
Copy link
Contributor

github-actions bot commented Jan 30, 2025

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 8 0 0.01s
✅ JSON prettier 3 3 0 0.37s
✅ JSON v8r 3 0 3.28s
✅ MARKDOWN markdownlint 5 0 0 0.69s
✅ MARKDOWN markdown-table-formatter 5 0 0 0.21s
✅ REPOSITORY checkov yes no 13.27s
✅ REPOSITORY gitleaks yes no 0.69s
✅ REPOSITORY git_diff yes no 0.01s
✅ REPOSITORY grype yes no 9.33s
✅ REPOSITORY secretlint yes no 0.87s
✅ REPOSITORY trivy yes no 4.59s
✅ REPOSITORY trivy-sbom yes no 0.06s
✅ REPOSITORY trufflehog yes no 2.46s
✅ SPELL lychee 20 0 0.74s
✅ YAML prettier 11 11 0 0.54s
✅ YAML v8r 11 0 5.97s
✅ YAML yamllint 11 0 0.37s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[MegaLinter] reported by reviewdog 🐶

name: SonarQube Issue Conversion
description: Transform tool output into generic SonarQube format(s)
inputs:
input:
description: Single or multiple tool output files to convert
required: true
output:
description: Output file for converted issues
required: true
transformation:
description: Type of transformation to apply (one of gtest-to-generic-execution, mutation-test-to-generic-issue)
required: true
runs:
using: composite
steps:
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: '3.12'
- shell: bash
run: |
python -m pip install --upgrade pip==24.3.1
pip install lxml
- shell: bash
run: |
echo 'Using transformation: ${{ inputs.transformation }} to convert ${{ inputs.input }} to ${{ inputs.output }}'
case ${{ inputs.transformation }} in
'gtest-to-generic-execution')
{ echo '<testExecutions version="1">'; xsltproc ${GITHUB_ACTION_PATH}/converters/gtest-to-generic-execution.xslt ${{ inputs.input }}; echo '</testExecutions>'; } | tee ${{ inputs.output }} > /dev/null
;;
'mutation-test-to-generic-issue')
;;
*)
echo 'Unknown transformation type: ${{ inputs.transformation }}'
exit 1
;;
esac

@rjaegers Ron (rjaegers) changed the title fix: use ${{ github.action_path }} when referencing external files fix: use ${GITHUB_ACTION_PATH} when referencing external files Jan 30, 2025
@rjaegers Ron (rjaegers) merged commit e9ecfaf into main Jan 30, 2025
10 checks passed
@rjaegers Ron (rjaegers) deleted the feature/fix-action-usage-from-external-repository branch January 30, 2025 12:42
@github-actions
Copy link
Contributor

Pull Request Report (#7)

Static measures

Description Value
Number of added lines 1
Number of deleted lines 1
Number of changed files 1
Number of commits 2
Number of reviews 1
Number of comments (w/o review comments) 1
Number of reviews that contains a comment to resolve 1
Number of reviews that requested a change from the author 0
Number of reviews that approved the Pull Request 0
Get the total number of participants of a Pull Request 2

Time related measures

Description Value
PR lead time (from creation to close of PR) 13.5 Min
Time that was spend on the branch before the PR was created 46 Sec
Time that was spend on the branch before the PR was merged 14.3 Min
Time to merge after last review 4.3 Min

Status check related measures

Description Value
Total runtime for last status check run (Workflow for PR) 2.7 Min
Total time spend in last status check run on PR 6.2 Min

@github-actions
Copy link
Contributor

🎉 Hooray! The changes in this pull request went live with the release of v1.0.1 🎉

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.

1 participant