Skip to content

Commit f28b352

Browse files
authored
add cron for weekly tests [skip ci]
1 parent c45c511 commit f28b352

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/cron.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Weekly Test Engines
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 8 * * 4'
7+
8+
jobs:
9+
tests:
10+
11+
uses: ./.github/workflows/tests.yml
12+
secrets: inherit
13+
14+
notify:
15+
needs: [ tests ]
16+
runs-on: ubuntu-24.04
17+
if: ${{ always() }}
18+
steps:
19+
- name: Slack Notifications
20+
uses: rtCamp/action-slack-notify@v2
21+
env:
22+
SLACK_CHANNEL: boxlang-cron
23+
SLACK_COLOR: ${{ job.status }} # or a specific color like 'green' or '#ff00ff'
24+
SLACK_ICON_EMOJI: ":bell:"
25+
SLACK_MESSAGE: '${{ github.repository }} weekly tests'
26+
SLACK_TITLE: ${{ github.repository }} Tests results
27+
SLACK_USERNAME: CI
28+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}

0 commit comments

Comments
 (0)