Comments (9)
@matthewparavati this will be covered in #18 - working on this :)
from gitstream.
@matthewparavati we added this to the roadmap, I don't have definite timeline yet
from gitstream.
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'
from gitstream.
@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.
@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.
@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.
@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.
@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.
@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)
- gitStream workflow automation execution warnings in GitHub HOT 3
- Github action fails with `Check could not be completed` HOT 5
- Trouble with Gitlab installation HOT 11
- Ignore directives that are commented out HOT 2
- Import YAML files with common configuration into .cm files HOT 3
- Help: Run gitStream for forked pull requests HOT 11
- Add visibility field for `repo` context HOT 2
- Required reviewer not being removed if automation not run HOT 10
- Add wildcard/regex for ignore_repositories HOT 2
- GitStream workflow is failing for all open PRs HOT 5
- Add gitStream Status Page HOT 1
- wait_for_all_checks timeout on merge with rulesets HOT 7
- Approve gets re-requested occasionally HOT 3
- Reuse automations for few projects HOT 4
- A PR that used to run gitstream no longer runs gitstream HOT 1
- set-required-approvals@v1 blocking PR after 2 approvals received HOT 2
- Add MS Teams Screenshots to Automation Examples
- Add explicit trigger for pr ready for review HOT 4
- Automation rules are triggered multiple times in a single run HOT 7
- Error in .cm/gitstream.cm - undefined HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitstream.