Skip to content

Commit

Permalink
fix: use pull_request event instead of issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sdepassio committed Jan 17, 2024
1 parent cf2143a commit ee058ac
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/spellchecker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

jobs:
pod-spell-check:
if: ${{ !contains(github.event.issue.labels.*.name, 'do-not-spell-check') }}
if: ${{ !contains(github.event.pull_request.labels.*.name, 'do-not-spell-check') }}
runs-on: ubuntu-22.04

steps:
Expand All @@ -39,8 +39,6 @@ jobs:
- name: Install librairies
continue-on-error: true
run: |
echo ${{ !contains(github.event.issue.labels.*.name, 'do-not-spell-check') }}
echo ${{ github.event.issue.labels.*.name }}
sudo apt-get update
sudo apt-get install -y hunspell
shell: bash
Expand Down

0 comments on commit ee058ac

Please sign in to comment.