You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dependabot PRs sometimes update JS dependencies declared in a repo's package.json. In order for the update to have full impact, we often need to run npm run build in the repo after updating the package.json or package.lock file to rebuild related assets. We should create a GitHub action that automatically checks out the dependabot PR branch, runs npm ci && npm run build and commits any update build assets to the dependabot PR.
Dependabot PRs sometimes update JS dependencies declared in a repo's
package.json
. In order for the update to have full impact, we often need to runnpm run build
in the repo after updating the package.json or package.lock file to rebuild related assets. We should create a GitHub action that automatically checks out the dependabot PR branch, runsnpm ci && npm run build
and commits any update build assets to the dependabot PR.In pressbooks/pressbooks, we have a post-commit action for dependabot PRs that autobuilds assets and commits them to the PR: https://github.com/pressbooks/pressbooks/blob/dev/.github/workflows/autobuild-dependabot-assets.yml. This PR doesn't play well with our required 'lint & build assets' step, however. See pressbooks/pressbooks#3206 or screenshot below
It only works now because our required actions are broken and no longer running on our PRs.
Once we have a reusable workflow that does this, we should add it to all the repos where it would be useful.
The text was updated successfully, but these errors were encountered: