Skip to content

Commit

Permalink
Only run CI on PRs and push to main or releases (#842)
Browse files Browse the repository at this point in the history
Also enable manual runs

Also only verify docgen on pushes to main or release, and PRs

Signed-off-by: Jason Hall <[email protected]>
  • Loading branch information
imjasonh authored Oct 4, 2021
1 parent 061393d commit 6c5c65f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@

name: CI-Tests

on: [push, pull_request]
on:
workflow_dispatch:
push:
branches: ['main', 'release-*']
pull_request:

jobs:
unit-tests:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/verify-docgen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@

name: Docgen

on: [push, pull_request]
on:
workflow_dispatch:
push:
branches: ['main', 'release-*']
pull_request:

jobs:
docgen:
Expand Down

0 comments on commit 6c5c65f

Please sign in to comment.