Giter VIP home page Giter VIP logo

Comments (9)

vim-zz avatar vim-zz commented on June 13, 2024 1

@matthewparavati this will be covered in #18 - working on this :)

from gitstream.

vim-zz avatar vim-zz commented on June 13, 2024 1

@matthewparavati we added this to the roadmap, I don't have definite timeline yet

from gitstream.

vim-zz avatar vim-zz commented on June 13, 2024 1

@matthewparavati

Values Type Description
pr.status String The PR status: open, closed and merged
pr.requested_changes [String] List of users that requested changes
  requested_changes:
    if:
      - {{ pr.status == 'open' }}
      - {{ pr.requested_changes | length > 0 }}
    run:
      - action: add-label@v1
        args:
          label: '🚨 Changes requested'
          color: '#EC560D'

Screenshot 2023-05-07 at 15 48 36

from gitstream.

matthewparavati avatar matthewparavati commented on June 13, 2024

@vim-zz perfect, thanks! Did you want me to leave this open for now or close and just track the progress of issue 18?

from gitstream.

matthewparavati avatar matthewparavati commented on June 13, 2024

@vim-zz Actually, after submitting some more PRs today with requested changes, gitstream seems to be running again, but my automation check always evaluates to false.

I tried updating it to this earlier today just to see if my check was too specific but it's still evaluating to false.

updated automation snippet
requested_changes:
  if:
    - {{ pr.status | includes(list=['requested-changes', 'Changes requested', 'requested', 'changes', 'Changes']) }}
  run:
    - action: add-label@v1
      args:
        label: '🚨 Changes requested'
        color: '#EC560D'

Couple follow up questions:

  • Is it possibly just the case that the PR status isn't actually up to date when the check occurs? Or is something wrong with my automation check?
  • Is there a way to check the PR status when the automation is running?

from gitstream.

matthewparavati avatar matthewparavati commented on June 13, 2024

@vim-zz any updates/thoughts on this? It always seems to be evaluating to false after submitting a PR review with requested changes

from gitstream.

matthewparavati avatar matthewparavati commented on June 13, 2024

@vim-zz thanks for the update. should the requested_changes array be zero after changes are resolved or once the user approves the PR?

Basically, we aren't seeing the label getting removed once it's been added and wondering if this is expected?

from gitstream.

vim-zz avatar vim-zz commented on June 13, 2024

@matthewparavati the list clears when all issues are resolved. Do you see gitStream triggers a new check after the changes are resolved? If not, this is a bug. If it tirggers bug doesn't change the resolution it's might be anoter problem

from gitstream.

matthewparavati avatar matthewparavati commented on June 13, 2024

@vim-zz I was able to re-test and I did not see a new gitstream check after marking a requested change as resolved, I created #153 as a follow up to this

from gitstream.

Related Issues (20)

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.