Skip to content

Commit

Permalink
Only run CI on push events
Browse files Browse the repository at this point in the history
  • Loading branch information
CasperWA committed Aug 21, 2021
1 parent fa94679 commit a47d0d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
name: CI

on: [push, pull_request]
on: [push]

jobs:

pre-commit:
runs-on: ubuntu-latest

if: ( github.event_name == 'pull_request' && github.repository_owner != 'emmo-repo' ) || ( github.event_name == 'push' )

steps:
- uses: actions/checkout@v2

Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/dic2owl_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
push:
paths:
- 'dic2owl/**'
pull_request:
paths:
- 'dic2owl/**'

jobs:

Expand All @@ -16,8 +13,6 @@ jobs:
matrix:
python-version: [3.8, 3.9]

if: ( github.event_name == 'pull_request' && github.repository_owner != 'emmo-repo' ) || ( github.event_name == 'push' )

steps:
- uses: actions/checkout@v2

Expand Down

0 comments on commit a47d0d5

Please sign in to comment.