Skip to content

Commit

Permalink
Run CI before publish to be safe
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit0 committed Nov 18, 2023
1 parent 253fa5f commit fc0b736
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: CI
on: [push, pull_request]
on:
push:
pull_request:
workflow_run:
workflows: ["Generate Web API Index"]
types:
- completed
jobs:
build:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches:
- main
workflow_run:
workflows: ["Generate Web API Index"]
workflows: ["CI"]
types:
- completed
jobs:
Expand Down

0 comments on commit fc0b736

Please sign in to comment.