Skip to content

Commit

Permalink
👷(cms) fix wrong github event checking in gitlint action
Browse files Browse the repository at this point in the history
we must check github.event, not directly github.pull_request…
  • Loading branch information
manuhabitela committed Jun 25, 2024
1 parent e8f6732 commit 1c7cfb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lasuite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
lint-git:
runs-on: ubuntu-latest
# Makes sense only for: 1) pull requests 2) that are not triggered by DecapCMS
if: github.event_name == 'pull_request' && !contains(github.pull_request.title, 'cms-bot')
if: github.event_name == 'pull_request' && !contains(github.event.pull_request.title, 'cms-bot')
steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand Down

0 comments on commit 1c7cfb9

Please sign in to comment.