Skip to content

Commit

Permalink
add cron for weekly tests [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
otisnado authored Feb 11, 2025
1 parent c45c511 commit f28b352
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Weekly Test Engines

on:
workflow_dispatch:
schedule:
- cron: '0 8 * * 4'

jobs:
tests:

uses: ./.github/workflows/tests.yml
secrets: inherit

notify:
needs: [ tests ]
runs-on: ubuntu-24.04
if: ${{ always() }}
steps:
- name: Slack Notifications
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: boxlang-cron
SLACK_COLOR: ${{ job.status }} # or a specific color like 'green' or '#ff00ff'
SLACK_ICON_EMOJI: ":bell:"
SLACK_MESSAGE: '${{ github.repository }} weekly tests'
SLACK_TITLE: ${{ github.repository }} Tests results
SLACK_USERNAME: CI
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}

0 comments on commit f28b352

Please sign in to comment.