carbon-design-system / ibm-products

A Carbon-powered React component library for IBM Products
https://ibm-products.carbondesignsystem.com
Apache License 2.0
98 stars 138 forks source link

build: update dependency action to use carbon bot/app token #6498

Open matthewgallo opened 4 days ago

matthewgallo commented 4 days ago

Closes #6497

Uses same token approach as Core to open PRs so that it is opened by one of the Carbon github bots/apps. I also removed the slack integration piece since it doesn't work and wanted to do some cleanup.

What did you change?

.github/workflows/update.yml

How did you test and verify your work?

Haven't been able to yet! But the same APP_ID and APP_PRIVATE_KEY secrets have been added to our repo that are also used in core and those are used to generate the token used by peter-evans/create-pull-request.

netlify[bot] commented 4 days ago

Deploy Preview for ibm-products-web-components ready!

Name Link
Latest commit 23ac446ff3ee60644f9dab24082dabc8871bf62c
Latest deploy log https://app.netlify.com/sites/ibm-products-web-components/deploys/673f7bf3fd7b830008c7b5b5
Deploy Preview https://deploy-preview-6498--ibm-products-web-components.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 4 days ago

Deploy Preview for carbon-for-ibm-products ready!

Name Link
Latest commit 23ac446ff3ee60644f9dab24082dabc8871bf62c
Latest deploy log https://app.netlify.com/sites/carbon-for-ibm-products/deploys/673f7bf36a616100084188d7
Deploy Preview https://deploy-preview-6498--carbon-for-ibm-products.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

codecov[bot] commented 4 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 79.64%. Comparing base (01ece2b) to head (23ac446).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6498 +/- ## ======================================= Coverage 79.64% 79.64% ======================================= Files 394 394 Lines 12886 12886 Branches 4268 4268 ======================================= Hits 10263 10263 Misses 2623 2623 ``` | [Components](https://app.codecov.io/gh/carbon-design-system/ibm-products/pull/6498/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=carbon-design-system) | Coverage Ξ” | | |---|---|---| | [ibm-products](https://app.codecov.io/gh/carbon-design-system/ibm-products/pull/6498/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=carbon-design-system) | `βˆ… <ΓΈ> (βˆ…)` | | | [ibm-products-web-components](https://app.codecov.io/gh/carbon-design-system/ibm-products/pull/6498/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=carbon-design-system) | `βˆ… <ΓΈ> (βˆ…)` | |

🚨 Try these New Features:

matthewgallo commented 4 days ago

Yes! I'm coming off the bench πŸ˜‚ I went to add an approval to https://github.com/carbon-design-system/ibm-products/pull/6437 and realized that I couldn't since it was opened by me (my guess is that maybe I created the token that's currently passed to peter-evans/create-pull-request).

Both chore and build seem like valid options and I've seen both used across various different projects, happy to stick with build πŸ‘