create-or-update-comment | A GitHub action to create or update an issue or pull request comment | Continous Integration library
kandi X-RAY | create-or-update-comment Summary
kandi X-RAY | create-or-update-comment Summary
A GitHub action to create or update an issue or pull request comment. This action was created to help facilitate a GitHub Actions "ChatOps" solution in conjunction with slash-command-dispatch action.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Fetches remote resource
- Parses an IP address .
- Run generation function .
- Create a wrapper for fetching requests
- Consume a Body .
- Parse request parameter
- Get node request options .
- Gets all values in a context .
- The state machine class
- Parse response body .
create-or-update-comment Key Features
create-or-update-comment Examples and Code Snippets
Community Discussions
Trending Discussions on create-or-update-comment
QUESTION
I couldn't find much about whether "unpublishing" a GitHub Action from the Marketplace is possible, as of Dec, 2020.
There is a lot of doc regarding "how to publish", but couldn't find anything about unpublishing.
Am I using a bad keyword? Am I understand how publishing work correctly? I had assumed published actions are different from public actions available on GitHub directly, but I'm not so sure anymore.
Also, I read https://julienrenaux.fr/2019/12/20/github-actions-security-risk/, which basically states there is a huge security issue by blindly using something like peter-evans/create-or-update-comment@v1
without using a specific hash. But I haven't seen use of hashes anywhere so far.
Here is an example of code that we actually use in our company, in our GitHub Action:
...ANSWER
Answered 2020-Dec-18 at 13:34So, there were 2 questions at hand:
- What is the role of the GitHub Actions Marketplace?
- How to unpublish an action published in GitHub Actions Marketplace?
About 1), unlike what I assumed, the role of the Marketplace is limited to indexing GitHub Actions, so that they're easier to find. It's very different from NPM, which is to secure the published packages so that no one can temper with them.
Because Actions are referenced using their GitHub path, an author can destroy their own action any time. Deleting their repository or marking it private are actions that will break all existing integrations right away.
- Short story: Forking and referencing actions you use using their hash/SHA is the only way to build resilient actions that won't break your CI when someone changes their branch/tag, or delete/hide their GitHub repository.
- Long story: See https://github.com/UnlyEd/next-right-now/discussions/223
About 2), by "unpublishing" an Action from the Marketplace, what you really do is "deindex" it, that's all. You don't destroy anything nor break any workflow, you only remove it from the marketplace, and it won't be shown anymore.
You can do so by editing your releases (on GitHub) and uncheck the "Publish this action to the GitHub Marketplace".
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install create-or-update-comment
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page