-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Post output of action in dry-run mode as a PR comment #143
Comments
It looks like the new "job summaries" feature GitHub launched would be a great way to achieve this: https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/
|
@lopopolo, have a report of what actions does is always great but for this we need first to export the results as action output This is not coded yet as we can see in ghaction-github-labeler/src/labeler.ts Lines 48 to 112 in 17aaa97
Return the label record and the operation result is what you expect? |
any update on this issue? |
I currently have a dedicated workflow for running this action which is configured like this:
PRs that modify either the workflow or the labels trigger a dry run. Once merged to the main branch, the GH Action is run in live mode.
When run in dry-run mode on a PR, I'd like the option to post the output which appears in the workflow job logs as a comment on the action. I usually do this manually to make sure I didn't do any typos and the action makes the changes I expect: artichoke/docker-artichoke-nightly#44.
I don't think I can implement this myself with a action script because I can't capture the output of the labeler action.
The text was updated successfully, but these errors were encountered: