Skip to content

Commit

Permalink
Avoid running tests and static analysis on tags (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
sverdlov93 authored May 21, 2023
1 parent fe6a826 commit cf94629
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: "Static Analysis"
on: [ "push", "pull_request" ]
on:
push:
tags-ignore:
- '**'
pull_request:
jobs:
Static-Check:
runs-on: ubuntu-latest
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Tests

on: [ push, pull_request ]
on:
push:
tags-ignore:
- '**'
pull_request:
# Ensures that only the latest commit is running for each PR at a time.
# Ignores this rule for push events.
concurrency:
Expand Down

0 comments on commit cf94629

Please sign in to comment.