Skip to content

Commit

Permalink
feat: allow ci to be run manually if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Lulalaby committed Aug 3, 2023
1 parent adb5614 commit 7d49d8f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches: [ main, feature/*, hotfix/* ]
push:
branches: [ main, feature/*, hotfix/* ]
workflow_dispatch:

jobs:
test:
Expand Down Expand Up @@ -60,6 +61,11 @@ jobs:
- uses: actions/checkout@v3
with:
lfs: true
- name: Checkout PR
if: github.event_name == 'pull_request'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr checkout ${{ github.event.pull_request.number }}

- uses: ./.github/actions/build

Expand Down

0 comments on commit 7d49d8f

Please sign in to comment.