Created
July 29, 2020 16:47
-
-
Save testableapple/13740bdfccec193c93cc72965417920b to your computer and use it in GitHub Desktop.
This file contains hidden or 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: Sample | |
| on: [pull_request] | |
| jobs: | |
| first_project: | |
| name: FirstProjectTests | |
| runs-on: [macos-latest] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Runner | |
| env: | |
| PULL_REQUEST: ${{ "{{ github.event.pull_request._links.self.href " }}}} | |
| GITHUB_TOKEN: ${{ "{{ secrets.GITHUB_TOKEN " }}}} | |
| TRIGGER: "FirstProjectRelatedFolder/, VeryImportantFolder/, Fastfile" | |
| IGNORE: "FirstProjectFolder/tests/, .md" | |
| run: | | |
| if [ $(ruby ./.github/scripts/check_changes.rb) = 0 ]; then | |
| echo "Required files were not touched" | |
| else | |
| fastlane first_project_tests | |
| fi | |
| second_project: | |
| name: SecondProjectTests | |
| runs-on: [macos-latest] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Runner | |
| env: | |
| PULL_REQUEST: ${{ "{{ github.event.pull_request._links.self.href " }}}} | |
| GITHUB_TOKEN: ${{ "{{ secrets.GITHUB_TOKEN " }}}} | |
| TRIGGER: "SecondProjectRelatedFolder/, VeryImportantFolder/, Fastfile" | |
| IGNORE: "SecondProjectRelatedFolder/tests/, .md" | |
| run: | | |
| if [ $(ruby ./.github/scripts/check_changes.rb) = 0 ]; then | |
| echo "Required files were not touched" | |
| else | |
| fastlane second_project_tests | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment