Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ChristopherHX
Copy link
Contributor

  • GitHub Actions doesn't use the newer strict schema in the service
  • Tolerate more hallucinations

Provide Guidance

* GitHub Actions doesn't use the newer strict schema in the service
* Tolerate more hallucinations
@github-actions
Copy link
Contributor

github-actions bot commented Nov 7, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ EDITORCONFIG editorconfig-checker 1 0 0.01s
✅ REPOSITORY gitleaks yes no 2.79s
✅ REPOSITORY git_diff yes no 0.01s
✅ REPOSITORY grype yes no 10.16s
✅ REPOSITORY secretlint yes no 1.26s
✅ REPOSITORY trivy-sbom yes no 0.4s
✅ REPOSITORY trufflehog yes no 3.86s

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

@ChristopherHX
Copy link
Contributor Author

ChristopherHX commented Nov 7, 2024

@jsoref What do you think?

This appends an informal error if schema fails.

I thought about adding strict validation after weak validation as warning, but the planner code doesn't have the context where the logger can be substituted... :(

Docu update here: nektos/act-docs#32

@ChristopherHX ChristopherHX marked this pull request as ready for review November 7, 2024 22:01
@ChristopherHX ChristopherHX requested a review from a team as a code owner November 7, 2024 22:01
@codecov
Copy link

codecov bot commented Nov 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.42%. Comparing base (5a80a04) to head (079fe92).
Report is 180 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #2524       +/-   ##
===========================================
+ Coverage   61.56%   74.42%   +12.85%     
===========================================
  Files          53       72       +19     
  Lines        9002    11053     +2051     
===========================================
+ Hits         5542     8226     +2684     
+ Misses       3020     2191      -829     
- Partials      440      636      +196     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@jsoref jsoref left a comment

Choose a reason for hiding this comment

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

jsoref@jsoref-mbp winget-dsc % act --version
act version 0.2.69
jsoref@jsoref-mbp winget-dsc % act -l 2>&1|tail -3
Line: 37 Column 3: Failed to match on-sequence-strict: Line: 37 Column 3: Expected a sequence got mapping
Line: 37 Column 3: Failed to match on-mapping-strict: Line: 43 Column 5: Failed to match null: Line: 43 Column 5: Expected a scalar got mapping
Line: 43 Column 5: Failed to match pull-request-target-mapping: Line: 45 Column 5: Unknown Property tags-ignore
jsoref@jsoref-mbp winget-dsc % ~/code/nektos/act/dist/local/act --version
act version b253c5d
jsoref@jsoref-mbp winget-dsc % ~/code/nektos/act/dist/local/act -l
INFO[0000] Using docker host 'unix:///var/run/docker.sock', and daemon socket 'unix:///var/run/docker.sock'
WARN  ⚠ You are using Apple M-series chip and you have not specified container architecture, you might encounter issues while running act. If so, try running it with '--container-architecture linux/amd64'. ⚠
Stage  Job ID        Job name        Workflow name   Workflow file    Events
0      spelling      Check Spelling  Spell Checking  spellCheck.yaml  push,pull_request_target
1      comment-push  Report (Push)   Spell Checking  spellCheck.yaml  push,pull_request_target
1      comment-pr    Report (PR)     Spell Checking  spellCheck.yaml  pull_request_target,push

I was expecting to see an error message...

In theory, I like these changes, but..., for reasons I don't understand, I'm not seeing them.

@ChristopherHX
Copy link
Contributor Author

for reasons I don't understand, I'm not seeing them.

The error level has been lowered. Custom properties in on are no failure anymore.

@mergify mergify bot merged commit cf09fd0 into master Feb 25, 2025
13 checks passed
@mergify mergify bot deleted the weaken-validation branch February 25, 2025 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants