Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

First stab at refactoring to use the new built in artifact-url output#46

Open
acoffman wants to merge 15 commits intocansavvy/updatefrom
acoffman/artifacts
Open

First stab at refactoring to use the new built in artifact-url output#46
acoffman wants to merge 15 commits intocansavvy/updatefrom
acoffman/artifacts

Conversation

@acoffman
Copy link
Copy Markdown
Collaborator

@acoffman acoffman commented Feb 18, 2025

Hi @cansavvy,

I was working on porting the code here: https://github.com/orgs/community/discussions/51403#discussioncomment-5515349 to a generic, reusable action which led me to reading the docs for actions/upload-artifact as the version listed in the discussion answer is deprecated.

It turns out that, based on the release notes and the documented outputs, the artifact URL is now available directly as an output of the upload-artifact action.

This PR is a first stab at refactoring your refactor (in #44) to utilize this fact.

Now the primary action handles generating the reports, uploading them as artifacts, and managing the comments all in one workflow. There shouldn't be a need for the secondary commenter workflow or the API manipulation any longer.

Let me know if you think this makes sense and is the proper direction to take this workflow. If so, I need to do some more cleanup and testing and can go ahead and update the docs as part of this PR as well. (I just didn't want to go too far down this road if you think its the wrong way).

@cansavvy
Copy link
Copy Markdown
Contributor

This looks great! Thanks for getting this going. So glad to hear they've added this functionality! Let's make this something we can test!

@cansavvy
Copy link
Copy Markdown
Contributor

Hi @acoffman just wanted to check in on this. I have some other work I want to do for this repository but wanted to see how what you are working on looks so I can make sure everything gets incorporated smoothly. Let me know!

@cansavvy cansavvy mentioned this pull request Apr 3, 2025
@cansavvy
Copy link
Copy Markdown
Contributor

cansavvy commented Apr 3, 2025

@cansavvy
Copy link
Copy Markdown
Contributor

cansavvy commented Apr 3, 2025

I also copied over your work here to the new org over here https://github.com/ottrproject/ottr-reports/pull/3/files

cansavvy added a commit to ottrproject/ottr-reports that referenced this pull request Apr 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants