Skip to content

Commit

Permalink
Run CI actions on pull request instead of on push
Browse files Browse the repository at this point in the history
This should fix the CI actions not being run for external pull
requests. They are still run on pushes to develop, master and
tags (which should only happen on merges or new releases).
  • Loading branch information
chvp committed Nov 15, 2021
1 parent 6d79a9c commit 526d257
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: Lint

on: [push]
on:
push:
branches:
- master
- develop
tags:
- '*'
pull_request:

jobs:
ruby:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: Test

on: [push]
on:
push:
branches:
- master
- develop
tags:
- '*'
pull_request:

jobs:
ruby:
Expand Down

0 comments on commit 526d257

Please sign in to comment.