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

Release Tracking #3511

Closed
4 tasks
github-actions bot opened this issue Jul 11, 2023 · 6 comments
Closed
4 tasks

Release Tracking #3511

github-actions bot opened this issue Jul 11, 2023 · 6 comments
Assignees

Comments

@github-actions
Copy link
Contributor

This is a scheduled issue for tracking the release between Monday 10th and Friday 14th

Last week Value
Issue Release Tracking
Conductor joshblack
Release Pull Request Link
Integration tests Link

Timeline

  • Monday, July 10th
  • Tuesday, July 11th
  • Wednesday, July 12th
  • Thursday, July 13th
  • Friday, July 14th

Checklist

  • Checks have passed on the integration Pull Request downstream
  • Release tracking Pull Request has been merged
  • Stable release available on npm
  • Downstream repos have been updated to latest

Notes

@siddharthkp
Copy link
Member

siddharthkp commented Jul 14, 2023

Hello!

Latest status: Need to triage 3 2 1 failing checks on integration PR: https://github.com/github/github/pull/280392.

  • There is one test failing now related to service owners, which isn't related to primer/react, so we should be good!

Fun updates:

  • The first 2 attempts of running checks on the integration PR failed to install node_modules at the right spot. gh/gh#280050 and gh/gh#280092
  • There are failing checks on integration PR. Have not triaged them yet.
  • There is a node_modules inside primer/react now (not on main) because we use a different version of primer/react-octicons (^19.3.0) than what's in the primer workspace (18.3.0)
    • need to check what are the breaking changes before updating primer workspace

Other odd things:

  • Sometimes the checks simply don't run on the integration PR when it's created from a workflow. (see slack discussion. Pushing a commit from codespaces helps them gets started.
    • Update: see Dusty's comment below
  • Need to see if we run into licenses issues related to changesets/cli or is it fixed after Add --no-save flag to release workflow .github#17.
    • Update: we do not 🎉

@dgreif
Copy link
Member

dgreif commented Jul 14, 2023

Regarding the actions not running on the integration PR, it's likely caused by this issue. This is a major downside to pushing commits with the GITHUB_TOKEN, and something I'd love to see us fix for all GitHub users. Wouldn't hurt to weigh in on that issue that it's impacting the Primer team 😄.

The main workaround is to use a PAT to clone instead of GITHUB_TOKEN. Then your commits are linked to a real account (whatever account the PAT is for) instead of "GitHub Actions". Major downsides are that you need some of bot account to create the PAT, and the PAT will likely have an expiration date.

Other solution is to push a commit like you have been doing. This is a manual intervention and not obvious. You could also leverage the new Tidy UI action in dotcom to push a commit for you, but that will only take effect if the code you push to your PR is lacking all the correct changes (e.g. node_modules are not hoisted or license files did not get updated).

@siddharthkp
Copy link
Member

Thanks @dgreif, that is very useful!

@joshblack
Copy link
Member

@dgreif would it be possible to use a GitHub App as the account to push commits and trigger the workflows? 👀

@github-actions github-actions bot mentioned this issue Jul 18, 2023
4 tasks
@siddharthkp
Copy link
Member

Update: There is only test failing now, which is related to service owners, so we should be good to publish a new version of primer/react!

@dgreif
Copy link
Member

dgreif commented Jul 24, 2023

@dgreif would it be possible to use a GitHub App as the account to push commits and trigger the workflows? 👀

I'm honestly not sure. I think so, and I vaguely recall PRC using the Changesets app to push changes during a release, which I believe triggered Actions without any problems

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

No branches or pull requests

3 participants