Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

ci: automate discovery types#1366

Closed
alvarowolfx wants to merge 28 commits intogoogleapis:mainfrom
alvarowolfx:ci-automate-discovery-types
Closed

ci: automate discovery types#1366
alvarowolfx wants to merge 28 commits intogoogleapis:mainfrom
alvarowolfx:ci-automate-discovery-types

Conversation

@alvarowolfx
Copy link
Copy Markdown
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 June 4, 2024 15:35
on:
schedule:
- cron: '0 12 * * TUE'
pull_request: # REMOVE BEFORE MERGING
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.

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
Copy Markdown
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
Copy Markdown
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 thread package.json
Comment on lines +59 to +61
"execa": "^5.0.0",
"extend": "^3.0.2",
"gaxios": "^6.0.3",
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.

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
Copy Markdown
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', '[email protected]']);
await execa('git', ['config', 'user.name', 'Yoshi Automation']);
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.

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

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

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