Skip to content

Commit

Permalink
Merge pull request #300 from peopledoc/github-actions
Browse files Browse the repository at this point in the history
Trigger CI when publishing a new release
  • Loading branch information
Joachim Jablon committed Aug 25, 2020
2 parents c11ae01 + bbb8345 commit 6ad7f04
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ on:
branches:
- master
tags:
- '*'
pull_request:
release:
types:
- published

jobs:
lint:
Expand Down Expand Up @@ -108,7 +110,7 @@ jobs:
- lint
- tests
- docs
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
if: (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) || github.event_name == 'release'
steps:
- uses: actions/checkout@v2
- name: Setup Python
Expand Down

0 comments on commit 6ad7f04

Please sign in to comment.