Skip to content

Commit 5909b7e

Browse files
committed
Fix: Create pr-placeholders directory before writing file
1 parent 4413e7c commit 5909b7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/agentready-dev-issue-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,13 +376,13 @@ jobs:
376376
git checkout -b "${BRANCH_NAME}"
377377
378378
# Create initial commit with issue reference
379+
mkdir -p .github/pr-placeholders
379380
echo "# Issue #${ISSUE_NUMBER}" > ".github/pr-placeholders/issue-${ISSUE_NUMBER}.md"
380381
echo "" >> ".github/pr-placeholders/issue-${ISSUE_NUMBER}.md"
381382
echo "This draft PR was automatically created from issue #${ISSUE_NUMBER}." >> ".github/pr-placeholders/issue-${ISSUE_NUMBER}.md"
382383
echo "" >> ".github/pr-placeholders/issue-${ISSUE_NUMBER}.md"
383384
echo "**Original Issue:** #${ISSUE_NUMBER}" >> ".github/pr-placeholders/issue-${ISSUE_NUMBER}.md"
384385
385-
mkdir -p .github/pr-placeholders
386386
git add ".github/pr-placeholders/issue-${ISSUE_NUMBER}.md"
387387
git commit -m "chore: create draft PR branch for issue #${ISSUE_NUMBER}"
388388

0 commit comments

Comments
 (0)