Skip to content

fix(frontend root): redirect to log in (#5516) #28

fix(frontend root): redirect to log in (#5516)

fix(frontend root): redirect to log in (#5516) #28

Workflow file for this run

name: ci
on:
push:
branches: [ main ]
jobs:
darker:
uses: ./.github/workflows/darker.yml
pytest:
uses: ./.github/workflows/pytest.yml
npm-test:
uses: ./.github/workflows/npm-test.yml
on-failure:
runs-on: ubuntu-latest
if: ${{ always() && (needs.darker.result == 'failure' || needs.darker.result == 'timed_out' || needs.pytest.result == 'failure' || needs.pytest.result == 'timed_out' || needs.npm-test.result == 'failure' || needs.npm-test.result == 'timed_out') }}
needs:
- darker
- pytest
- npm-test
steps:
- name: Send a stream message
uses: zulip/github-actions-zulip/send-message@v1
with:
api-key: ${{ secrets.ZULIP_API_KEY_GITHUB_ACTIONS_BOT }}
email: "[email protected]"
organization-url: "https://chat.kobotoolbox.org"
type: "stream"
to: "Kobo Dev"
topic: "Github Actions (main)"
content: ":boom: @*devs*, [run #${{github.run_number}}](${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}}) failed on `main` at [${{ toJson(github.event.commits[0].message) }}](${{ github.event.compare }})"