-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Summary
The activity type on.pull_request.types: edited is not triggered with the PR title. A JSONDecodeError("Expecting value", s, err.value) from None error is raised. See https://github.com/SiegeSailor/Smarty-Notebook/actions/runs/19205915406/job/54901052719 for logs. In other words, CashStory/commitizen-action-pr@1.0.1 is unable to capture the title when a new commit is pushed to a PR.
My workflow snippet
on:
push:
branches:
- main
- release
pull_request:
branches:
- main
- release
types:
- edited
- opened
- reopened
- synchronize
jobs:
linting:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
steps:
- name: Action | Validate PR Title
if: github.event_name == 'pull_request'
uses: CashStory/commitizen-action-pr@1.0.1Expected Behavior
CashStory/commitizen-action-pr@1.0.1 is able to capture PR titles with on.pull_request.types: edited events. Before that, we should remove the recommended on setup from the sample workflow in README.md.
Metadata
Metadata
Assignees
Labels
No labels