Daily workflows #510
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Daily workflows | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 14 * * *" # Daily at 10am EST | ||
jobs: | ||
run-daily-tests: | ||
uses: neurodatawithoutborders/nwbinspector/.github/workflows/testing.yml@dev | ||
run-daily-doc-link-checks: | ||
uses: neurodatawithoutborders/nwbinspector/.github/workflows/doc-link-checks.yml@dev | ||
run-daily-dandi-release-tests: | ||
uses: neurodatawithoutborders/nwbinspector/.github/workflows/dandi-dev.yml@dev | ||
run-daily-dandi-dev-tests: | ||
uses: neurodatawithoutborders/nwbinspector/.github/workflows/dandi-release.yml@dev | ||
Check failure on line 20 in .github/workflows/dailies.yml GitHub Actions / .github/workflows/dailies.ymlInvalid workflow file
|
||
notify: | ||
runs-on: ubuntu-latest | ||
needs: [run-daily-tests, run-daily-doc-link-checks] | ||
if: ${{ always() && contains(needs.*.result, 'failure') }} | ||
steps: | ||
- uses: dawidd6/action-send-mail@v3 | ||
with: | ||
server_address: smtp.gmail.com | ||
server_port: 465 # TSL | ||
username: ${{ secrets.MAIL_USERNAME }} | ||
password: ${{ secrets.MAIL_PASSWORD }} | ||
subject: NWB Inspector Daily Failure | ||
to: ${{ secrets.DAILY_FAILURE_EMAIL_LIST }} # add more with commas, no separation | ||
from: NWB Inspector | ||
body: "The daily workflow for the NWB Inspector failed: please check status at https://github.com/NeurodataWithoutBorders/nwbinspector/actions/workflows/dailies.yml" |