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/aiinfo-scheduled-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,16 @@ jobs:
pnpm test package aiinfo
pnpm build package aiinfo

- name: Commit only ./node and ./cache (if any)
- name: Commit only ./node, ./cache, ./src, Changelog.md (if any)
id: maybe_commit
run: |
set -euo pipefail
# Stage only the desired paths
git add -A ./node ./cache || true
git add -A packages/aiinfo/src packages/aiinfo/node packages/aiinfo/cache packages/aiinfo/Changelog.md || true
Copy link

Copilot AI Oct 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The git add command uses relative paths that assume the current working directory is the repository root. The workflow doesn't explicitly set a working directory for this step, which could lead to failures if the default working directory changes. Consider either: 1) explicitly setting working-directory: . for this step, or 2) using absolute paths with ${{ github.workspace }}/packages/aiinfo/... for clarity and robustness.

Copilot uses AI. Check for mistakes.
# If nothing staged, exit early (success)
if git diff --cached --quiet; then
echo "no_changes=true" >> "$GITHUB_OUTPUT"
echo "No changes detected in ./node or ./cache. Exiting successfully."
echo "No changes detected. Exiting successfully."
exit 0
fi
git commit -m "chore(aiinfo): update cache/build [skip ci]"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"vitest": "^3.2.4",
"yaml": "^2.8.1"
},
"version": "2.0.0",
"version": "2.0.1",
"name": "@instructure.ai/shared-configs",
"packageManager": "pnpm@10.19.0",
"private": true,
Expand Down