Code Monkey home page Code Monkey logo

action-create-issue's People

Contributors

micnncim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

action-create-issue's Issues

Upgrade to node16

We should probably update this action to use node16 (instead of node12) to avoid the following warning which shows up when running the action:

The following actions uses node12 which is deprecated and will be forced to run on node16: actions-ecosystem/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

I guess it is a matter of fixing this line.

Add issue number output

What you want to add

An output with the issue number would be awesome.

Why this is needed

It would allow further steps to complete actions on the same issue with ease.
Personally, I want to chain a step using your add comment action after the step containing this action.

Thanks for this action, it's great.

Is there a way to take a github artifact and save it to an issue?

What you want to add

I'm creating an issue when there is a failure in running a github workflow. The github workflow is saving the errors as an artifact on the workflow:

      - name: upload error artifacts
        uses: actions/upload-artifact@v2
        if: ${{ failure() }}
        with:
          name: errors
          path: ./**/error*.jpg

There's another step that generates a text report and I'd love to add that text file to the body of the issue.

Can I get someway to also save that to the issue?

Why this is needed

It makes the details in the issue itself more useful.

Currently I'm creating an issue by saying:

      - name: If tests failed create an issue
        if: ${{ failure() }}
        uses: actions-ecosystem/action-create-issue@v1
        with:
          github_token: ${{ secrets.github_token }}
          title: Automated tests failed
          body: |
            An automated test failed. See the action at ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}.
          labels: |
            bug

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.