Skip to content
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

add workflow to post comment comparing updated deps #30

Closed
wants to merge 0 commits into from
Closed

Conversation

matt-codecov
Copy link
Contributor

@matt-codecov matt-codecov commented Sep 4, 2024

this is a reusable workflow that will automatically post/update a PR comment when shared is updated. the comment contains a link to a GitHub page that will show all of the commits/changes between the old shared version and the new shared version

here's a screenshot that shows a comment that was edited in place when the PR was updated
Screenshot 2024-09-04 at 5 01 02 PM

it takes the dep as an input, so we could actually use this for the test results parser or other git-based pip dependencies. if somebody wants to teach it javascript, we could use it for gazebo too

you use it like this:

jobs:
  post-dep-comment:
    name: Post dep comment
    uses: codecov/gha-workflows/.github/workflows/diff-dep.yml@pr30
    with:
      dep: 'shared'

test repo / PR where i tested this: https://github.com/codecov/test-workflow/pull/2

@matt-codecov matt-codecov marked this pull request as draft September 4, 2024 22:24
@matt-codecov matt-codecov force-pushed the pr30 branch 10 times, most recently from 9dc9a81 to bc9b7ec Compare September 4, 2024 23:31
@matt-codecov matt-codecov requested review from a team and removed request for a team September 5, 2024 00:02
@matt-codecov
Copy link
Contributor Author

i don't know what happened to this PR. it has 0 commits and i can't reopen it. moved to #31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant