Skip to content

Commit

Permalink
ci: fixes issue where pr title check job wasn't always being run (#97)
Browse files Browse the repository at this point in the history
* chore: adjusts workflow and job titles

* ci: fixes issue where pr title check didnt run if PR was never edited

* ci: run title check on sync as well
  • Loading branch information
ctran88 authored Oct 30, 2024
1 parent 93328d1 commit 1a1a9a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/on-pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: Run Tests
name: Lint, Format, and Test

on:
workflow_call:
workflow_dispatch:
pull_request:

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PASSAGE_APP_ID: ${{ secrets.PASSAGE_APP_ID }}
PASSAGE_API_KEY: ${{ secrets.PASSAGE_API_KEY }}
PASSAGE_USER_ID: ${{ secrets.PASSAGE_USER_ID }}
Expand Down Expand Up @@ -40,7 +39,7 @@ jobs:
exit 1
fi
test:
name: Run Tests
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr-title-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: PR Title Check
on:
pull_request:
types:
- opened
- reopened
- synchronize
- edited

jobs:
Expand Down

0 comments on commit 1a1a9a4

Please sign in to comment.