Skip to content

Update ci.yml

Update ci.yml #6

Workflow file for this run

name: Test CI
on: [push, pull_request]
jobs:
testjob:
name: Test Job
runs-on: ubuntu-latest
steps:
- name: Test step 1
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"