Skip to content

Nightly

Nightly #866

Workflow file for this run

name: Nightly
on:
schedule:
- cron: "0 5 * * *" # daily at 05:00
workflow_dispatch:
env:
RELEASE_COMMIT_MESSAGE: "chore(release): publish"
RUN_URL: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
jobs:
tests:
name: Tests
uses: ./.github/workflows/tests.yml
secrets: inherit
visual-tests:
name: Visual Tests
uses: ./.github/workflows/tests-visual.yml
secrets: inherit
notify-fail:
name: Notify Fail
needs: [tests, visual-tests]
if: failure()
runs-on: ubuntu-latest
steps:
- uses: technote-space/workflow-conclusion-action@v1
- name: Notify Fail
uses: hbfernandes/[email protected]
env:
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
CONCLUSION: ${{ env.WORKFLOW_CONCLUSION }}
COLOR: "#C62828"
with:
args: |
{
"channel": "ui-kit-internal",
"attachments": [
{
"mrkdwn_in": ["text"],
"color": "${{env.COLOR}}",
"title": "${{ github.workflow }} finished: ${{ env.CONCLUSION }}",
"title_link": "${{ env.RUN_URL }}"
}
]
}