Skip to content

Commit

Permalink
fix(ci): run at correct times
Browse files Browse the repository at this point in the history
  • Loading branch information
Avantol13 committed Oct 13, 2023
1 parent 1e3418a commit fbd6ffa
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
name: CI

on:
# run on pushes to master and on pull requests
# run on pushed commits to master and on new commits on pull requests
push:
branches:
- master
pull_request:
types: [opened, reopened]
types:
- synchronize

jobs:
Security:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Docs

on:
# DON't run on pushes to master and only on pull requests
# DON'T run on pushed commits to master, ONLY on new commits on pull requests
pull_request:
types: [opened, reopened]
types:
# only on new commits
- synchronize

jobs:
build_docs:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
on:
pull_request:
types:
# only on new commits
- synchronize
issue_comment:
types: [created, edited]

Expand Down

0 comments on commit fbd6ffa

Please sign in to comment.