Skip to content

Commit 83ee5c9

Browse files
Copilotcameri
andauthored
fix: check for specific changeset file instead of any changeset
Agent-Logs-Url: https://github.com/cameri/nostream/sessions/3207702c-8940-4b51-a9b7-39d3c4bedcf4 Co-authored-by: cameri <378886+cameri@users.noreply.github.com>
1 parent 1e1632f commit 83ee5c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/dependabot-changeset.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
- name: Check for existing changeset
2222
id: check
2323
run: |
24-
count=$(find .changeset -maxdepth 1 -name '*.md' ! -name 'README.md' 2>/dev/null | wc -l)
25-
if [ "$count" -gt 0 ]; then
24+
filename=".changeset/dependabot-pr-${{ github.event.pull_request.number }}.md"
25+
if [ -f "$filename" ]; then
2626
echo "exists=true" >> "$GITHUB_OUTPUT"
2727
else
2828
echo "exists=false" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)