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

Update the mega linter because of GitHub Action deprecations #2877

Merged
merged 1 commit into from
May 19, 2023

Conversation

hawkowl
Copy link
Collaborator

@hawkowl hawkowl commented Apr 27, 2023

Which issue this PR addresses:

Chore from warnings in github

What this PR does / why we need it:

Fixes up deprecation warnings

Test plan for issue:

It is tests :)

Is there any documentation that needs to be updated for this PR?

N/A

Copy link
Collaborator

@SudoBrendan SudoBrendan left a comment

Choose a reason for hiding this comment

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

Changes look good, I wonder if we need to modify the configured ref to the yamllint config file path while using the new linter?

EXCLUDED_DIRECTORIES:
- vendor
- "vendor"
- "node_modules"
YAML_YAMLLINT_CONFIG_FILE: .yaml-lint.yml
Copy link
Collaborator

Choose a reason for hiding this comment

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

just noticing that the file edited in this PR and this reference do not align. Am I missing something or is this a typo from a previous commit? The new linter seems to use a different default, one that would work if we actually removed this "custom" one: https://megalinter.io/latest/descriptors/yaml_yamllint/

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

the path is still different, dunno why we have that name in particular. I'm not too keen to change it if it works :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

OH, right. This yaml-lint is for the yaml-lint config in the proj root dir, the one changed in the PR is for the yaml linting GH action.

@hawkowl hawkowl force-pushed the hawkowl/update-megalinter branch from e60b6ff to 2eeccb3 Compare May 19, 2023 03:45
Copy link
Contributor

@ellis-johnson ellis-johnson left a comment

Choose a reason for hiding this comment

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

LGTM!

@hawkowl hawkowl merged commit a03c6eb into Azure:master May 19, 2023
@hawkowl hawkowl deleted the hawkowl/update-megalinter branch May 19, 2023 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-review skippy pull requests raised by member of Team Skippy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants