check branch before running
@@ -8,13 +8,12 @@ on:
branches:
- 'master'
schedule:
- branches:
- - 'master'
# * is a special character in YAML so you have to quote this string
- cron: '0 0 * * *'
jobs:
Audits:
+ if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
