Skip to content

Commit ab13864

Browse files
flanakinclaude
andcommitted
Address PR #1985 feedback: use safer git add
Use `git add -u docs-mslearn/` instead of wildcard pattern to only stage tracked files that were actually modified by the workflow. 🤖 Generated with [Claude Code](https://claude.ai/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e4c0616 commit ab13864

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/update-mslearn-dates.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ jobs:
6464
run: |
6565
git config --local user.email "github-actions[bot]@users.noreply.github.com"
6666
git config --local user.name "github-actions[bot]"
67-
git add docs-mslearn/**/*.md
67+
git add -u docs-mslearn/
6868
git commit -m "chore: Update ms.date in docs-mslearn files"
6969
git push

0 commit comments

Comments
 (0)