Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e80bf9a

Browse files
committed
template notify
1 parent f6d9401 commit e80bf9a

2 files changed

Lines changed: 9 additions & 7 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": "n",
26+
"matrix_room_id": "!JYqfIVJjWANcHnfktY:cadair.com",
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: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -184,17 +184,18 @@ jobs:
184184
uses: pypa/[email protected] # zizmor: ignore[unpinned-uses]
185185

186186
notify:
187-
if: ${{ !cancelled() && github.event_name == 'workflow_dispatch' }}
188-
needs: [publish_pure, online]
187+
if: ${{ !cancelled() && (github.event_name == 'workflow_dispatch' || github.event_name == 'schedule') }}
188+
needs: [build_dists, publish_pure, online]
189+
runs-on: ubuntu-latest
189190
environment:
190191
name: matrix
191-
runs-on: ubuntu-latest
192192
steps:
193193
- uses: Cadair/matrix-notify-action@main # zizmor: ignore[unpinned-uses]
194194
with:
195-
matrix_token: ${{ secrets.matrix_access_token }}
195+
workflow_description: "CI Workflow"
196+
matrix_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
196197
github_token: ${{ secrets.GITHUB_TOKEN }}
197-
homeserver: ${{ secrets.matrix_homeserver }}
198+
homeserver: ${{ secrets.MATRIX_HOMESERVER }}
198199
roomid: '!JYqfIVJjWANcHnfktY:cadair.com'
199200
ignore_pattern: '.*(Load|report overall).*'
200201
summarise_success: true

0 commit comments

Comments
 (0)