Git Product home page Git Product logo

issue-body-parser-action's People

Contributors

alvarezfr avatar peter-murray avatar robandpdx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

issue-body-parser-action's Issues

Option for non-failure if payload is missing

I am using this action in a workflow that is triggered on issue opened and issue_comment created. Sometimes issues do not have the payload this action is looking for, which is expected. The workflow runs regardless, which is also expected. However, the workflow fails because the payload is not found in the issue body. This failure is not ideal. It would be great if there were an option that caused the action to not fail if the payload is missing. Perhaps this option could also set a default value for the payload if it is not found so that downstream actions can check for this default value and behave accordingly.

Update the action to use node 20 instead of node 16

Hi,

Thanks a lot for creating this action, it's very helpful in the workflow we are designing.
One question/ request, when running your action we get a warning about using a deprecated version of node (node 16) while the most recent version to be used is node 20. Is there any chance to update this module to use node 20? See the screenshot for reference.

I have had a quick look and noticed the following in action.yml:

runs:
  using: node16
  main: dist/index.js

It might be as simple as changing this to use node20 instead of node16, but not really certain.

I would definitely appreciate some assistance in that regard. Thanks!

Screenshot 2024-02-02 at 11 00 17

test

test for the parser

Test Payload Issue

This is a JSON payload

{
  "name": "payload",
  "version": "1.0.0"
}

A standard JSON code block

{
  "name": "IS NOT PAYLOAD"
}

Some YAML encoded data

yaml_payload:
  name: A YAML payload
  version: 2.0.0

Repository Names

{
  "repositoryNames": ["repo1","repo2","repo3","repo4","repo5"]
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.