Skip to content
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

build: Fix Preview GitHub Action Workflow (re. pull_request_target) #47

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

vorburger
Copy link
Contributor

Copy link

github-actions bot commented Nov 2, 2023

PR Preview Action v1.4.4
Preview removed because the pull request was closed.
2023-11-02 05:02 UTC

Copy link

github-actions bot commented Nov 2, 2023

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 1 0 0.01s
✅ COPYPASTE jscpd yes no 1.79s
✅ EDITORCONFIG editorconfig-checker 1 0 0.01s
✅ REPOSITORY checkov yes no 9.73s
✅ REPOSITORY gitleaks yes no 0.16s
✅ REPOSITORY git_diff yes no 0.01s
✅ REPOSITORY grype yes no 11.22s
✅ REPOSITORY secretlint yes no 0.83s
✅ REPOSITORY trivy yes no 5.3s
✅ REPOSITORY trivy-sbom yes no 5.06s
✅ REPOSITORY trufflehog yes no 4.42s
✅ YAML prettier 1 0 0 0.45s
✅ YAML v8r 1 0 2.12s
✅ YAML yamllint 1 0 1.53s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@vorburger vorburger merged commit 6eadd17 into main Nov 2, 2023
5 checks passed
@vorburger vorburger deleted the vorburger-preview-fix-again branch November 2, 2023 05:02
vorburger added a commit to vorburger/pages-preview that referenced this pull request Nov 2, 2023
see www-learn-study/saraswati.learn.study#47

If you use pull_request_target: instead of pull_request: then the `actions/checkout`, at least in v4.1.1, will always check out the default branch, not the pull request.
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