empty #9
|
@ -57,6 +57,8 @@ jobs:
|
|||
with:
|
||||
token: ${{ secrets.BOT_TOKEN }}
|
||||
# fetch-depth: '1'
|
||||
- id: get_head_commit_title
|
||||
run: echo "title=$(git log --format=%B -n 1 HEAD | head -n 1)" >> $GITHUB_OUTPUT
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '20.9.0'
|
||||
|
@ -88,7 +90,7 @@ jobs:
|
|||
if: steps.has-changes.outputs.changes == 'true'
|
||||
run: |
|
||||
git add -A
|
||||
git commit -a -m "documented ${{ github.event.head_commit.message }}"
|
||||
git commit -a -m "documented ${{ steps.get-commit-title.outputs.text }}"
|
||||
git push origin HEAD
|
||||
exit 1
|
||||
schema:
|
||||
|
|
Loading…
Reference in New Issue