Skip to content

Commit

Permalink
fix(workflows): use ** instead of **/* in paths (runatlantis#3267)
Browse files Browse the repository at this point in the history
* Update test.yml

* Update test.yml

* Update test-required.yml

* Update lint-required.yml

* Update lint.yml
  • Loading branch information
nitrocode authored and ijames-gc committed Feb 13, 2024
1 parent 8c2e05c commit 1e6c0be
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-required.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
paths:
- 'runatlantis.io/**'
- '.github/**'
- '**/*.md'
- '**.md'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
paths-ignore:
- 'runatlantis.io/**'
- '.github/**'
- '**/*.md'
- '**.md'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test-required.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ on:
branches:
- "main"
paths-ignore:
- '**/*.go'
- '**.go'
- 'go.*'
- '.github/workflows/test.yml'
pull_request:
types:
Expand All @@ -19,7 +20,8 @@ on:
branches:
- "main"
paths-ignore:
- '**/*.go'
- '**.go'
- 'go.*'
- '.github/workflows/test.yml'

concurrency:
Expand All @@ -38,4 +40,4 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-22.04
steps:
- run: 'echo "No build required"'
- run: 'echo "No build required"'
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:
branches:
- "main"
paths:
- '**/*.go'
- '**.go'
- 'go.*'
- '.github/workflows/test.yml'
pull_request:
types:
Expand All @@ -16,7 +17,8 @@ on:
branches:
- "main"
paths:
- '**/*.go'
- '**.go'
- 'go.*'
- '.github/workflows/test.yml'
workflow_dispatch:

Expand Down

0 comments on commit 1e6c0be

Please sign in to comment.