Skip to content

Commit d02ddd3

Browse files
committed
matrix
1 parent 1c946de commit d02ddd3

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.cruft.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/sunpy/package-template",
3-
"commit": "692b3388242076d0f9bb9a6cf377cb695e2611d2",
3+
"commit": "93c8bc491584f214226a039a35d0cbebe305cd31",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
@@ -23,6 +23,7 @@
2323
"include_example_code": "n",
2424
"include_cruft_update_github_workflow": "y",
2525
"use_extended_ruff_linting": "y",
26+
"matrix_room_id": "!TWSJXVpyflnZOzmSQz:matrix.org",
2627
"_sphinx_theme": "sunpy",
2728
"_parent_project": "",
2829
"_install_requires": "",
@@ -32,7 +33,7 @@
3233
".github/workflows/sub_package_update.yml"
3334
],
3435
"_template": "https://github.com/sunpy/package-template",
35-
"_commit": "692b3388242076d0f9bb9a6cf377cb695e2611d2"
36+
"_commit": "93c8bc491584f214226a039a35d0cbebe305cd31"
3637
}
3738
},
3839
"directory": null

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,16 +144,18 @@ jobs:
144144
uses: pypa/gh-action-pypi-publish@v1.13.0 # zizmor: ignore[unpinned-uses]
145145

146146
notify:
147-
if: always() && github.event_name == 'workflow_dispatch'
147+
if: ${{ !cancelled() && (github.event_name == 'workflow_dispatch' || github.event_name == 'schedule') }}
148148
needs: [build_dists, cron]
149149
runs-on: ubuntu-latest
150150
environment:
151151
name: matrix
152152
steps:
153153
- uses: Cadair/matrix-notify-action@main # zizmor: ignore[unpinned-uses]
154154
with:
155+
workflow_description: "CI Workflow"
155156
matrix_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
156157
github_token: ${{ secrets.GITHUB_TOKEN }}
157158
homeserver: ${{ secrets.MATRIX_HOMESERVER }}
158159
roomid: '!TWSJXVpyflnZOzmSQz:matrix.org'
159160
ignore_pattern: '.*(Load|report overall).*'
161+
summarise_success: true

0 commit comments

Comments
 (0)