Skip to content

Commit

Permalink
fix: use DEFAULT_COMMIT_MESSAGE (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
sharunkumar authored Dec 25, 2024
1 parent 4c5221f commit 20925d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/notion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
runs-on: ubuntu-latest
env:
TZ: 'America/Los_Angeles'
DEFAULT_COMMIT_MESSAGE: 'chore: update from Notion'
permissions:
contents: write
steps:
Expand Down Expand Up @@ -67,7 +68,7 @@ jobs:
if: ${{ steps.stage.outputs.CHANGES_EXIST == 'true' }}
uses: planetscale/[email protected]
with:
commit_message: ${{ github.event.client_payload.commit_message || github.event.inputs.commit_message || 'chore: update from Notion' }}
commit_message: ${{ github.event.client_payload.commit_message || github.event.inputs.commit_message || env.DEFAULT_COMMIT_MESSAGE }}
repo: ${{ github.repository }}
branch: ${{ github.head_ref || github.ref_name }}
env:
Expand Down

0 comments on commit 20925d9

Please sign in to comment.