Add Dependabot workflow to rebuild dist#15
Open
digimangos wants to merge 8 commits into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds a GitHub Actions workflow intended to automatically rebuild and commit generated distribution artifacts (dist) when Dependabot opens or updates dependency-related pull requests.
Changes:
- Introduces a new
Dependabot Rebuild Distworkflow triggered on Dependabot PRs that touch npm package management files. - Runs a Node install/build and pushes updated dist output back to the Dependabot branch.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/dependabot-rebuild-dist.yml |
Adds a workflow to rebuild and commit dist artifacts for Dependabot PRs. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 1/1 changed files
- Comments generated: 5
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Collaborator
Author
|
@copilot review this PR again |
Addressed with commit I made a minimal follow-up update to the Dependabot workflow: scoped |
Comment on lines
+27
to
+29
| with: | ||
| ref: ${{ github.event.pull_request.head.ref }} | ||
| fetch-depth: 0 |
Comment on lines
+34
to
+36
| node-version-file: .node-version | ||
| cache: npm | ||
| cache-dependency-path: issueops-common-logic/package-lock.json |
Comment on lines
+39
to
+44
| run: | | ||
| if [ -f package-lock.json ] || [ -f npm-shrinkwrap.json ]; then | ||
| npm ci | ||
| else | ||
| npm install | ||
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new GitHub Actions workflow to automatically rebuild and commit the
distdirectory when Dependabot opens or updates pull requests that modify package management files. This helps ensure that distribution files are always up-to-date after dependency updates from Dependabot.