Skip to content

Commit

Permalink
Revert "Use anchors for path patterns in CI templates"
Browse files Browse the repository at this point in the history
This reverts commit e16dc02.

> Anchors are not currently supported. Remove the anchor 'paths'
  • Loading branch information
FichteFoll committed Mar 5, 2023
1 parent e16dc02 commit d6181d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ name: Lint

on:
push:
paths: &paths
paths:
- '.github/workflows/lint.yml'
- '**.py'
pull_request:
paths: *paths
paths:
- '.github/workflows/lint.yml'
- '**.py'

jobs:
flake8:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/syntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: Syntax Tests

on:
push:
paths: &paths
paths:
- '.github/workflows/syntax.yml'
- '**.sublime-syntax'
- '**/syntax_test*'
- '**.tmPreferences'
pull_request:
paths: *paths
paths:
- '.github/workflows/syntax.yml'
- '**.sublime-syntax'
- '**/syntax_test*'
Expand Down

0 comments on commit d6181d9

Please sign in to comment.