Skip to content

Daily Workflows

Daily Workflows #37

Workflow file for this run

name: Daily Workflows
on:
workflow_dispatch:
schedule:
- cron: "0 14 * * *" # Daily at 10am EST
jobs:
update-testing-data:
uses: ./.github/workflows/update-testing-data.yml
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}

Check failure on line 12 in .github/workflows/dailies.yaml

View workflow run for this annotation

GitHub Actions / Daily Workflows

Invalid workflow file

The workflow is not valid. .github/workflows/dailies.yaml (Line: 12, Col: 30): Invalid secret, AWS_ACCESS_KEY_ID is not defined in the referenced workflow. .github/workflows/dailies.yaml (Line: 13, Col: 34): Invalid secret, AWS_SECRET_ACCESS_KEY is not defined in the referenced workflow.
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
S3_GIN_BUCKET: ${{ secrets.S3_GIN_BUCKET }}
run-tests:
needs: update-testing-data
uses: ./.github/workflows/run-tests.yml
notify:
runs-on: ubuntu-latest
needs: [update-testing-data, run-tests]
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: ROIExtractors Daily Failure
to: ${{ secrets.DAILY_FAILURE_EMAIL_LIST }} # add more with commas, no separation
from: ROIExtractors
body: "The daily workflow for ROIExtractors failed: please check status at https://github.com/catalystneuro/roiextractors/actions/workflows/dailies.yaml"