Git Product home page Git Product logo

Comments (7)

fabianp avatar fabianp commented on June 30, 2024 1

thanks BTW for the work on fixing the actions!

from 2024.

fabianp avatar fabianp commented on June 30, 2024

I suspect that's because of some security restrictions of github actions. It might be necessary to put some of those tests in a different workflow_run file as I've done in deploy-for-review.yml. See for example https://stackoverflow.com/a/71683208

from 2024.

Velythyl avatar Velythyl commented on June 30, 2024

Alright so I did a LOT of new commits to fix the scripts for when an external PR is made.

I found some issues:

  1. When an external person makes a PR, we have to manually "Approve & Run" the actions for it. This is doable manually but very annoying. -> TODO
  2. When the filters fail, the comment wouldn't get written at all. This would also cause the S3 upload to bail prematurely. -> [FIXED in both cases]

from 2024.

Velythyl avatar Velythyl commented on June 30, 2024

The new file for writing comments on filter failures is here: https://github.com/iclr-blogposts/2024/blob/main/.github/workflows/comment-on-error.yaml

Here is an example PR from an external account that. You can tell by the automated comments on that PR that at first, I tested a success case, and then I swapped to a failure case. #52

from 2024.

fabianp avatar fabianp commented on June 30, 2024

Regarding your first point, I believe we have to manually approve it only if it's a new github account (I don't know how github determines exactly that an account is new)

from 2024.

Velythyl avatar Velythyl commented on June 30, 2024

I believe we have to manually approve it only if it's a new github account

ah ok I see! Maybe we can add a small message in the PR template to mention that if their run doesn't start automatically, they have to @ us to approve it

from 2024.

fabianp avatar fabianp commented on June 30, 2024

yes that seems like a good idea

from 2024.

Related Issues (17)

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.