Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/dependabot-post-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,14 @@ jobs:
if (!entry.isFile()) {
throw new Error(`Unexpected non-file dist artifact: ${fullPath}`);
}
return [fullPath];
return [fullPath.split(path.sep).join('/')];
});
}

const headCommit = await request(`${apiBase}/git/commits/${process.env.PR_HEAD_SHA}`);
const headTree = await request(`${apiBase}/git/trees/${headCommit.tree.sha}?recursive=1`);
const newFiles = listFiles('dist');
const newPaths = new Set(newFiles.map((file) => file.replace(/\\/g, '/')));
const newPaths = new Set(newFiles);
const tree = [];

for (const file of newFiles) {
Expand All @@ -122,7 +122,7 @@ jobs:
body: JSON.stringify({ content, encoding: 'base64' }),
});
tree.push({
path: file.replace(/\\/g, '/'),
path: file,
mode: '100644',
type: 'blob',
sha: blob.sha,
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,6 @@ git push origin feature/branch-name

## Notes

- The action currently uses Node 16 runtime and should be updated to Node 20.
- The action runs on the Node 20 runtime (see `action.yml`).
- Bundle size is around 1.5 MB; avoid unnecessary growth.
- Review `TODO.md` before planning larger improvements.
42 changes: 19 additions & 23 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading