Skip to content

chore: Add github action to update discovery artifacts - #1187

Merged
parthea merged 4 commits into
masterfrom
add-github-action-to-update-discovery-artifacts
Apr 21, 2021
Merged

chore: Add github action to update discovery artifacts#1187
parthea merged 4 commits into
masterfrom
add-github-action-to-update-discovery-artifacts

Conversation

@parthea

@parthea parthea commented Feb 17, 2021

Copy link
Copy Markdown
Contributor

This PR adds a Github Actions script to copy the discovery artifacts from googleapis/discovery-artifact-manager and create a PR which summarizes the changes.

PR #1286 contains the scripts that the Github Action will use.

@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Feb 17, 2021
@parthea
parthea marked this pull request as ready for review February 19, 2021 12:26
@parthea
parthea requested a review from a team February 19, 2021 12:26
@parthea parthea closed this Feb 19, 2021
@parthea parthea reopened this Feb 19, 2021
@parthea
parthea force-pushed the add-github-action-to-update-discovery-artifacts branch 17 times, most recently from f2adaac to 4d02b9c Compare February 19, 2021 14:30

@bcoe bcoe left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a few drive by comments 👍

I'm excited to see if this works for you.

Comment thread .github/workflows/main.yml Outdated
Comment thread .github/workflows/main.yml Outdated
Comment thread changesummary.py Outdated
Comment thread .github/workflows/main.yml Outdated
Comment thread changesummary.py Outdated
Comment thread changesummary.py Outdated
Comment thread changesummary.py Outdated
Comment thread changesummary.py Outdated
Comment thread .github/workflows/main.yml Outdated
Comment thread .github/workflows/main.yml Outdated
Comment thread changesummary.py Outdated
Comment thread changesummary.py Outdated
Comment thread changesummary.py Outdated
@parthea
parthea force-pushed the add-github-action-to-update-discovery-artifacts branch 6 times, most recently from dbf53cc to 0a470c7 Compare February 23, 2021 17:28
@parthea
parthea force-pushed the add-github-action-to-update-discovery-artifacts branch 2 times, most recently from b661e1b to 19d12ae Compare March 5, 2021 12:53
@parthea parthea removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Mar 5, 2021
@parthea parthea self-assigned this Mar 15, 2021
@parthea
parthea force-pushed the add-github-action-to-update-discovery-artifacts branch 3 times, most recently from c8f9cfe to 3925e46 Compare March 28, 2021 12:23
@parthea
parthea requested review from busunkim96 and tswast March 28, 2021 12:36
@parthea

parthea commented Mar 28, 2021

Copy link
Copy Markdown
Contributor Author

@tswast @busunkim96 This is ready for review. Please can you take a look?

@parthea parthea left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I highlighted code that was added for testing purposes and will be removed before merging the PR.

Comment thread .github/workflows/main.yml Outdated
Comment thread .github/workflows/main.yml Outdated
Comment thread .github/workflows/main.yml Outdated
Comment thread .github/workflows/main.yml Outdated

@busunkim96 busunkim96 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. What decision was made regarding detecting breaking changes?

@parthea

parthea commented Mar 30, 2021

Copy link
Copy Markdown
Contributor Author

LGTM. What decision was made regarding detecting breaking changes?

After discussion with @danoscarmike, there will be no changes to the semver major version for this PR as we cannot definitively determine breaking changes. This PR only provides a summary of the changes that occurred in terms of key/value pairs. Any new keys will trigger a minor bump as the commit messages will still have feat(<api>): for new keys and fix(<api>): when there are changes to existing keys.

Comment thread scripts/changesummary.py
Comment thread scripts/changesummary.py Outdated
Comment thread scripts/changesummary.py Outdated
Comment thread scripts/changesummary.py Outdated
Comment thread scripts/changesummary.py Outdated
Comment thread scripts/changesummary.py Outdated
Comment thread scripts/changesummary.py Outdated
Comment thread scripts/changesummary.py Outdated
Comment thread scripts/changesummary.py Outdated
Comment thread scripts/changesummary.py
@parthea

parthea commented Apr 8, 2021

Copy link
Copy Markdown
Contributor Author

Thanks for reviewing @tswast ! I've moved the scripts to a new PR #1286 in an attempt to merge the scripts to master before the Github Action is added. Please continue the review in #1286. I'll make sure to address the comments that you've added so far in this PR and make the changes in #1286. I'm also going to work on adding tests for the scripts in #1286.

@parthea

parthea commented Apr 21, 2021

Copy link
Copy Markdown
Contributor Author

@busunkim96 @tswast @SurferJeffAtGoogle @JustinBeckwith This is ready for review. PTAL

@parthea

parthea commented Apr 21, 2021

Copy link
Copy Markdown
Contributor Author

@bcoe PTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants