Automated Pull Request From main to feature/test Branch #1247
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 44 - Check if PR from Fork | |
on: [pull_request] | |
jobs: | |
fork: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.head.repo.fork == true | |
steps: | |
- run: echo "This workflow run if PR is from a fork repo" | |
not-fork: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.head.repo.fork == false | |
steps: | |
- run: echo "This workflow run if PR is NOT from a fork repo" | |