Update workflow.yml

pull/283/head
Simon Lecoq 3 years ago committed by GitHub
parent 4b113e2d97
commit a68da79ef4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -72,7 +72,7 @@ jobs:
name: Format code
runs-on: ubuntu-latest
needs: [ build, analyze ]
if: github.event_name == 'push' && github.head_ref == 'refs/heads/master'
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
steps:
- name: Checkout repository
uses: actions/checkout@v2
@ -100,7 +100,7 @@ jobs:
name: Publish rebuilt metrics indexes
runs-on: ubuntu-latest
needs: [ build, analyze, format ]
if: github.event_name == 'push' && github.head_ref == 'refs/heads/master'
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
steps:
- name: Checkout repository
uses: actions/checkout@v2

Loading…
Cancel
Save