Created
February 28, 2020 07:54
-
-
Save raquelhortab/dd52e86e0b2d46748f2cd0a6ee6d20ff to your computer and use it in GitHub Desktop.
automatic tests workflow main.yml (run tests when pushed to my-other-branch, using my-other-branch code)
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: CI | |
on: | |
push: | |
branches: | |
- my-other-branch # this references the branch on which a push should trigger the action | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
with: | |
ref: my-other-branch # this references the branch that has the action's code you want to use | |
name: Checkout | |
- uses: ./.github/actions/automatic-tests | |
name: Test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment