Skip to content

Commit bc936fe

Browse files
committed
ci(workflows): remove branch exclusions and fix artifact paths
Remove branches-ignore patterns from workflow triggers to run on all branches, ensuring CI runs on previously excluded branches (assets**, dist**, gh-pages). Fix artifact download paths by removing trailing slashes for consistency. Update test result upload condition to run on success or failure (not cancelled) for better test reporting. These changes ensure comprehensive CI coverage across all branches and improve reliability of artifact handling and test reporting.
1 parent 34fdf38 commit bc936fe

File tree

5 files changed

+4
-19
lines changed

5 files changed

+4
-19
lines changed

template/.github/workflows/bench.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ name: Bench
55

66
on:
77
push:
8-
branches-ignore:
9-
- assets**
10-
- dist**
11-
- gh-pages
128
pull_request:
139
workflow_dispatch:
1410

template/.github/workflows/build.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ name: Build
55

66
on:
77
push:
8-
branches-ignore:
9-
- assets**
10-
- dist**
11-
- gh-pages
128
pull_request:
139
workflow_dispatch:
1410

template/.github/workflows/docs.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,9 @@
22
# DO NOT EDIT!
33

44
name: Docs
5+
56
on:
67
push:
7-
branches-ignore:
8-
- assets**
9-
- dist**
10-
- gh-pages
118
pull_request:
129
workflow_dispatch:
1310

template/.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
uses: actions/download-artifact@v5
5656
with:
5757
name: ${{ needs.build.outputs.artifact-name }}
58-
path: dist/
58+
path: dist
5959
- name: Publish to PyPI
6060
uses: pypa/gh-action-pypi-publish@release/v1
6161

@@ -79,7 +79,7 @@ jobs:
7979
uses: actions/download-artifact@v5
8080
with:
8181
name: ${{ needs.build.outputs.artifact-name }}
82-
path: dist/
82+
path: dist
8383
- name: Upload Release Assets
8484
uses: liblaf/actions-ts/release@dist
8585
with:

template/.github/workflows/test.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ name: Test
77

88
on:
99
push:
10-
branches-ignore:
11-
- assets**
12-
- dist**
13-
- gh-pages
1410
pull_request:
1511
workflow_dispatch:
1612

@@ -70,7 +66,7 @@ jobs:
7066
uses: codecov/codecov-action@v5
7167
with:
7268
use_oidc: true
73-
- if: ${{ !cancelled() }}
69+
- if: success() || failure()
7470
name: Upload Test Results
7571
uses: codecov/test-results-action@v1
7672
with:

0 commit comments

Comments
 (0)