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

ci: automate discovery types #1366

Closed

Conversation

alvarowolfx
Copy link
Contributor

Towards internal b/309836530

@alvarowolfx alvarowolfx changed the title Ci automate discovery types ci: automate discovery types May 23, 2024
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: bigquery Issues related to the googleapis/nodejs-bigquery API. labels May 23, 2024
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Jun 3, 2024
@alvarowolfx alvarowolfx marked this pull request as ready for review June 4, 2024 15:35
@alvarowolfx alvarowolfx requested review from a team as code owners June 4, 2024 15:35
on:
schedule:
- cron: '0 12 * * TUE'
pull_request: # REMOVE BEFORE MERGING
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
pull_request: # REMOVE BEFORE MERGING
pull_request: # REMOVE BEFORE MERGING

Does this need to be removed now?

Comment on lines +11 to +12
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
Copy link
Contributor

Choose a reason for hiding this comment

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

Do these get updated by dependabot or renovate bot? Wanting to make sure we're not adding a manual maintenance step of updating

- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 16
Copy link
Contributor

Choose a reason for hiding this comment

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

same for this version about maintenance

Comment on lines +59 to +61
"execa": "^5.0.0",
"extend": "^3.0.2",
"gaxios": "^6.0.3",
Copy link
Contributor

Choose a reason for hiding this comment

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

should these be dev dependencies instead of dependencies we're having the user add?

'Automated pull-request to keep BigQuery Discovery types up-to-date.';

async function submitDiscoveryPR() {
const statusResult = await execa('git', ['status', '--porcelain']);
Copy link
Contributor

Choose a reason for hiding this comment

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

TIL git status porcelain! 😁

Comment on lines +42 to +43
await execa('git', ['config', 'user.email', 'yoshi-automation@google.com']);
await execa('git', ['config', 'user.name', 'Yoshi Automation']);
Copy link
Contributor

Choose a reason for hiding this comment

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

@sofisl just checking this is our most up to date git username and email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/nodejs-bigquery API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants