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

ci(fix): update node.js for github action + reformat files for prettier action #32

Merged
merged 4 commits into from
Mar 11, 2024

Conversation

kahboom
Copy link
Collaborator

@kahboom kahboom commented Mar 8, 2024

This PR intends to address the failing builds due to enabling GitHub Actions workflows to run.

Copy link
Member

Choose a reason for hiding this comment

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

It looks like your editor may have auto-formatted these pipeline files. Do you really want that as part of the PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I certainly can for .tekton files because they don't exist upstream, but for the other files like src/modules/components/Entry.tsx I'm not sure if we want to start ignoring those?

The other thing is if we don't commit the formatting now then it will make reviewing both merge conflicts from upstream and pull requests more difficult, however, I don't feel strongly about it so I'm happy to exclude those formatting changes if you prefer.

package.json Outdated
@@ -8,6 +8,8 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"format": "prettier --check --ignore-path .gitignore .",
"format:fix": "prettier --write --ignore-path .gitignore .",
Copy link
Member

Choose a reason for hiding this comment

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

Or maybe prettier is formatting the yaml? Can you add --ignore-path .tekton as well?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes that was an intentional format, sorry about that! See my other comment. I'll add --ignore-path .tekton to this.

@kahboom kahboom force-pushed the ci-fixes-02 branch 2 times, most recently from cfae8cc to 8a39d30 Compare March 8, 2024 21:43
chore: merge with main

fix: revert formatting changes to .tekton files

chore: rm prettier version from workflow

restore deleted file, oops
@kahboom kahboom requested a review from lance March 8, 2024 21:47
@kahboom
Copy link
Collaborator Author

kahboom commented Mar 9, 2024

@lance any idea why the RHTAP check is failing? the logs are really noisy and it's difficult to tell what's going on

@kahboom kahboom merged commit 8bd98eb into securesign:main Mar 11, 2024
9 of 10 checks passed
@kahboom kahboom deleted the ci-fixes-02 branch March 11, 2024 15:03
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.

2 participants