We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae7759c commit f4ea441Copy full SHA for f4ea441
.github/workflows/main.yml
@@ -1,6 +1,10 @@
1
-name: OCSPChecker
2
-permissions: {}
3
-on: [push]
+name: test
+permissions: {} # https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token#defining-access-for-the-github_token-permissions
+on:
4
+ push:
5
+ branches:
6
+ - '*'
7
+ - '!master'
8
9
jobs:
10
test:
@@ -44,7 +48,7 @@ jobs:
44
48
if: ${{ always() }}
45
49
46
50
build:
47
- if: github.repository == 'gattjoe/OCSPChecker' # https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#example-only-run-job-for-specific-repository
51
+ if: github.repository == 'gattjoe/OCSPChecker' && github.ref == 'refs/heads/master'
52
runs-on: ubuntu-latest
53
needs: test
54
steps:
0 commit comments