Skip to content

Fix trigger_comment newline #1921

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

Merged

Conversation

chmouel
Copy link
Member

@chmouel chmouel commented Feb 7, 2025

Fix yaml in prow.yaml PR or it would cause issues to the controller not being able to parse it.

The pac controller would get:

🚨 11:31:31 pac-controller prun: tekton validation error: yaml: line
16: could not find expected ':'

it's all deep down inside the decoder method:

decoder := k8scheme.Codecs.UniversalDeserializer()

so nothing we can really do on our side, and we have to tell our users to have to use the |- thing instead.

Changes

Submitter Checklist

  • 📝 Ensure your commit message is clear and informative. Refer to the How to write a git commit message guide. Include the commit message in the PR body rather than linking to an external site (e.g., Jira ticket).

  • ♽ Run make test lint before submitting a PR to avoid unnecessary CI processing. Consider installing pre-commit and running pre-commit install in the repository root for an efficient workflow.

  • ✨ We use linters to maintain clean and consistent code. Run make lint before submitting a PR. Some linters offer a --fix mode, executable with make fix-linters (ensure markdownlint and golangci-lint are installed).

  • 📖 Document any user-facing features or changes in behavior.

  • 🧪 While 100% coverage isn't required, we encourage unit tests for code changes where possible.

  • 🎁 If feasible, add an end-to-end test. See README for details.

  • 🔎 Address any CI test flakiness before merging, or provide a valid reason to bypass it (e.g., token rate limitations).

  • If adding a provider feature, fill in the following details:

    (update the documentation accordingly)

Fix yaml in prow.yaml PR or it would cause issues to the controller not
being able to parse it.

The pac controller would get:

🚨 11:31:31 pac-controller prun:  tekton validation error: yaml: line
16: could not find expected ':'

it's all deep down inside the decoder method:

decoder := k8scheme.Codecs.UniversalDeserializer()

so nothing we can really do on our side, and we have to tell our users
to have to use the |- thing instead.

Signed-off-by: Chmouel Boudjnah <[email protected]>
@vdemeester
Copy link
Member

/lgtm

Copy link

@pipelines-as-code pipelines-as-code bot left a comment

Choose a reason for hiding this comment

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

✅ Pull Request Approved

Approval Status:

  • Required Approvals: 1
  • Current Approvals: 1

👥 Approved By:

Reviewer Permission Status
@vdemeester admin

📝 Next Steps

  • All required checks must pass
  • Branch protection rules apply
  • Get a maintainer to use the /merge command to merge the PR

Thank you for your contributions! 🎉

@chmouel
Copy link
Member Author

chmouel commented Feb 7, 2025

/merge

Copy link

@pipelines-as-code pipelines-as-code bot left a comment

Choose a reason for hiding this comment

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

✅ Pull Request Approved

Approval Status:

  • Required Approvals: 1
  • Current Approvals: 1

👥 Approved By:

Reviewer Permission Status
@vdemeester admin

📝 Next Steps

  • All required checks must pass
  • Branch protection rules apply
  • Get a maintainer to use the /merge command to merge the PR

Thank you for your contributions! 🎉

@pipelines-as-code pipelines-as-code bot merged commit 799386b into openshift-pipelines:main Feb 7, 2025
4 checks passed
Copy link

✅ PR Successfully Merged

  • Merge method: rebase
  • Merged by: @chmouel
  • Total approvals: 1/1

Approvals Summary:

Reviewer Permission Status
@vdemeester admin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants