Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaski committed Nov 3, 2023
1 parent 984f3a4 commit 57021d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Test step 1
run: test '${{github.repository}}' = 'strawberrymusicplayer/testci' && test '${{github.event.pull_request.head.repo.fork}}' = 'false' && echo 'Is not from a fork' || echo 'Is from a fork'
run: echo '${{github.event.pull_request.head.repo.fork}}'
- name: Test step 2
run: test '${{github.repository}}' = 'strawberrymusicplayer/testci' && test '${{github.event.pull_request.head.repo.fork}}' = 'false' && echo 'Is not from a fork' || echo 'Is from a fork'
- name: Test step 3
if: github.repository == 'strawberrymusicplayer/testci' && github.event.pull_request.head.repo.fork == false
run: echo "TEST"

0 comments on commit 57021d2

Please sign in to comment.