Skip to content

Commit

Permalink
gh-actions: Fix on.pull_request.paths-ignore patterns
Browse files Browse the repository at this point in the history
All patterns start from the repository's root and patterns that start
with '/' won't match anything. See
https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#patterns-to-match-file-paths.
  • Loading branch information
dbarnett committed Sep 2, 2024
1 parent 00c4eeb commit 6f3d9e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ on:
pull_request:
branches: [main]
paths-ignore:
- '/*.md'
- '/ChangeLog'
- '/LICENSE'
- 'docs/**'
- '*.md'
- ChangeLog
- LICENSE
- docs/**

permissions:
contents: read
Expand Down

0 comments on commit 6f3d9e9

Please sign in to comment.