-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cleanup action test #16
Conversation
Our Model Predicts this PR to be in category [6] |
Co-authored-by: Michael Clifford <mcliffor@redhat.com>
Can you also update
|
Our Model Predicts this PR to be in category [6] |
name: Time To Merge Tool - Model Inference Test | ||
description: 'This is the github action to predict time to merge for a new pull request' | ||
author: 'redhat-et' | ||
|
||
inputs: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not 100% sure how we handle the env variables, but I don't think we need them in this file and the inference action yaml.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at a few existing action.yml files I see most of them are inputting these env variables in this file itself. https://github.com/actions/stale/blob/main/action.yml
However, if you suggest we can keep them in the inference.yaml only and move them to action later?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no no. let's leave them in both places for now. But I think eventually we will be able to move them out of the inference.yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I agree with this. 👍
action.yml
Outdated
outputs: | ||
prediction: | ||
description: 'Provides a prediction of the PRs time to merge' | ||
|
||
runs: | ||
using: 'docker' | ||
image: 'Containerfile' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to change the file name from Containerfile
to Dockerfile
and change the image:
tag here to Dockerfile
as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay, got it
/LGTM |
Quick cleanup for action files.