File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 2020 workflow_dispatch :
2121
2222jobs :
23- certora_run_submission :
23+ # Compile the contracts and run verification
24+ compile_and_verify :
25+ name : Compile and verify
26+ # Run if it meets one of these conditions:
27+ # 1. It's a merged PR from a feat/* branch to dev
28+ # 2. It's a push to a certora/* branch
29+ # 3. It's a scheduled run
30+ # 4. It's a manually triggered run
31+ if : >
32+ (github.event_name == 'pull_request' &&
33+ github.event.pull_request.merged == true &&
34+ startsWith(github.head_ref, 'feat/')) ||
35+ (github.event_name == 'push' &&
36+ startsWith(github.ref, 'refs/heads/certora/')) ||
37+ github.event_name == 'schedule' ||
38+ github.event_name == 'workflow_dispatch'
2439 runs-on : ubuntu-latest
2540 permissions :
2641 contents : read
You can’t perform that action at this time.
0 commit comments