Skip to content

Commit 3d27000

Browse files
committed
Added docs-update.yml
1 parent 98da907 commit 3d27000

File tree

1 file changed

+22
-23
lines changed

1 file changed

+22
-23
lines changed

.github/workflows/docs-update.yml

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -129,27 +129,26 @@ jobs:
129129
done
130130
fi
131131
132-
- name: Create Pull Request
132+
- name: Commit and push changes
133133
if: steps.git-changes.outputs.has_git_changes == 'true' && steps.codeboarding.outputs.has_changes == 'true'
134-
uses: peter-evans/create-pull-request@v5
135-
with:
136-
token: ${{ secrets.PAT_TOKEN }}
137-
commit-message: "docs: update codeboarding documentation"
138-
title: "📚 CodeBoarding Documentation Update"
139-
body: |
140-
## 📚 Documentation Update
141-
This PR contains updated documentation files fetched from the CodeBoarding service.
142-
### 📊 Summary
143-
- **Documentation files created/updated**: ${{ steps.codeboarding.outputs.markdown_files_created }}
144-
- **JSON files created/updated**: ${{ steps.codeboarding.outputs.json_files_created }}
145-
- **Documentation directory**: `${{ steps.codeboarding.outputs.output_directory }}/`
146-
- **JSON directory**: `${{ steps.codeboarding.outputs.json_directory }}/`
147-
- **Output format**: `${{ github.event.inputs.output_format || '.mdx' }}`
148-
- **Repository analyzed**: `${{ steps.codeboarding.outputs.repo_url }}`
149-
150-
The generated .mdx files have been automatically appended to the development documentation.
151-
152-
🤖 This PR was automatically generated by the CodeBoarding documentation update workflow.
153-
branch: docs/codeboarding-update
154-
base: main
155-
delete-branch: true
134+
run: |
135+
git config --local user.email "[email protected]"
136+
git config --local user.name "GitHub Action"
137+
git add .
138+
git commit -m "docs: update codeboarding documentation
139+
140+
## 📚 Documentation Update
141+
This commit contains updated documentation files fetched from the CodeBoarding service.
142+
143+
### 📊 Summary
144+
- Documentation files created/updated: ${{ steps.codeboarding.outputs.markdown_files_created }}
145+
- JSON files created/updated: ${{ steps.codeboarding.outputs.json_files_created }}
146+
- Documentation directory: ${{ steps.codeboarding.outputs.output_directory }}/
147+
- JSON directory: ${{ steps.codeboarding.outputs.json_directory }}/
148+
- Output format: ${{ github.event.inputs.output_format || '.mdx' }}
149+
- Repository analyzed: ${{ steps.codeboarding.outputs.repo_url }}
150+
151+
The generated .mdx files have been automatically appended to the development documentation.
152+
153+
🤖 This commit was automatically generated by the CodeBoarding documentation update workflow."
154+
git push

0 commit comments

Comments
 (0)