Skip to content

Commit

Permalink
ci: run on push only
Browse files Browse the repository at this point in the history
  • Loading branch information
andreoliwa committed Feb 22, 2021
1 parent 3ba56d1 commit b7c9d85
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/python.yaml
Expand Up @@ -63,7 +63,7 @@ jobs:
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsif
# https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#determining-when-to-use-contexts
# FIXME[AA]: remove 'refs/heads/semantic-release'
# if: github.event_name == 'pull_request' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/semantic-release')
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/semantic-release')
runs-on: ubuntu-latest
steps:
- name: Echo
Expand Down Expand Up @@ -103,7 +103,9 @@ jobs:
# Keeping all branches here, so it's easier to debug; just comment or change "pull_request.branches" above
branches: |
[
'.+'
'master',
'develop',
'semantic-release'
]
# https://github.com/marketplace/actions/action-for-semantic-release#extra_plugins
Expand Down

0 comments on commit b7c9d85

Please sign in to comment.