GithubHelp home page GithubHelp logo

continue-on-error-comment's People

Contributors

mansona avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

dgrebb

continue-on-error-comment's Issues

Using SHA to get commit ID produces nonsensical hashes

First of all, thank you so much for creating this workflow. Saved my bacon when I tried to integrate some checks that should "warn" on failure and found out GHA simply does not support that usecase.

I found quite an odd problem when integrating this workflow along with trigger-workflow-and-wait though.

If the last commit to a branch that I am PR'ing is a regular commit, github.sha works just fine. But, if the last commit to the branch was a merge or revert commit, then github.sha gives me a nonsensical commit hash

The actual commit that triggered the workflow, a revert commit
image

Output from continue-on-error-comment
image

The hash that it links to
image

I pass this commit hash to my job on the other end of my trigger-workflow-and-wait, and I managed to solve it by using github.event.pull_request.head.sha instead. But continue-on-error-comment still gives me the nonsensical hash when it comments on my PR.

I see that this workflow is using some context.sha to determine the hash, I wonder if this is a similar problem?

Non `github-actions[bot]` accounts do not behave correctly

Hello again!

I have a special account that my IT org has provisioned for me for CI tasks. This account is not named github-actions[bot] and thus does not delete it's previous comments to the PR that it's running on.

Is it possible to do this check against the user dynamically? Or possibly adding some other metadata (magic string?) to the comment to make this user check unnecessary?

Thanks!

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.