Skip to content

pull_number undefined when action is running on push to master branch #5

@ppalucha

Description

@ppalucha

Hi, we have action running fine on PRs, but when merging PR to master, the action fails with message:

Error: Action failed with error: Empty value for parameter 'pull_number': undefined

The workflow we use is just simple:

jobs:
  check-commit:
    runs-on: self-hosted-fleet
    steps:
      - name: Check commit message
        uses: ad1992/clean-commit-action@v0.2.0
        with:
          repo-token: ${{ secrets.GITHUB_TOKEN }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions