Skip to content

Commit

Permalink
Only run diff-API workflow when releasing new versions
Browse files Browse the repository at this point in the history
  • Loading branch information
fschutt committed Jul 13, 2022
1 parent 4604d6a commit 3618d82
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/check-public-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@ env:
RUST_BACKTRACE: 1
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
branches:
- 'master'
tags:
# this is _not_ a regex, see: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
- '[0-9]+.[0-9]+.[0-9]+*'
workflow_dispatch:
inputs:
diff-api:
description: 'Diff API'
jobs:
setup:
name: Set up
Expand Down

0 comments on commit 3618d82

Please sign in to comment.