Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed Jun 20, 2024
1 parent ebc7e23 commit dc2495f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,11 @@ concurrency:
cancel-in-progress: true

jobs:
show:
runs-on: ubuntu-latest
steps:
- run: echo "${{ toJSON(github.event) }}"
- run: echo "${{ github.event.workflow_run.event }}"
- run: echo "${{ github.event.workflow_run.event == 'pull_reqeust' || github.event.workflow_run.event == 'pull_request_target' }}"
reusable-workflow:
if: github.event.workflow_run.event == 'pull_reqeust' || github.event.workflow_run.event == 'pull_request_target'
if: github.event.workflow_run.event == 'pull_request' || github.event.workflow_run.event == 'pull_request_target'
uses: ./.github/workflows/comment.yml
matrix:
if: github.event.workflow_run.event == 'pull_reqeust' || github.event.workflow_run.event == 'pull_request_target'
if: github.event.workflow_run.event == 'pull_request' || github.event.workflow_run.event == 'pull_request_target'
runs-on: ubuntu-latest
outputs:
templates: ${{ steps.matrix.outputs.templates }}
Expand All @@ -45,7 +39,7 @@ jobs:
working-directory: templates
action:
needs: [matrix]
if: github.event.workflow_run.event == 'pull_reqeust' || github.event.workflow_run.event == 'pull_request_target'
if: github.event.workflow_run.event == 'pull_request' || github.event.workflow_run.event == 'pull_request_target'
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ concurrency:

jobs:
comment:
if: github.event.workflow_run.event == 'pull_reqeust' || github.event.workflow_run.event == 'pull_request_target'
if: github.event.workflow_run.event == 'pull_request' || github.event.workflow_run.event == 'pull_request_target'
uses: ipdxco/sorted-pr-checks/.github/workflows/comment.yml@v1
```
Expand Down

0 comments on commit dc2495f

Please sign in to comment.