Skip to content

feat: test notify action #3

feat: test notify action

feat: test notify action #3

Workflow file for this run

name: Test Notify
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
schedule:
- cron: '0 9 * * *'
jobs:
deploy-staging:
name: Deploy - staging
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- name: Notify staging failure only
if: success() || failure()
uses: ./.github/actions/notify
with:
message: '🚨 ${{ repository.name }} : deploy to staging failed'

Check failure on line 25 in .github/workflows/test-notify.yml

View workflow run for this annotation

GitHub Actions / Test Notify

Invalid workflow file

The workflow is not valid. .github/workflows/test-notify.yml (Line: 25, Col: 20): Unrecognized named-value: 'repository'. Located at position 1 within expression: repository.name
hook: ${{ secrets.TCHAP_HOOK }}
id: ${{ secrets.TCHAP_ROOM_ID }}