Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rgildein committed Apr 9, 2024
1 parent c789fe0 commit 7b4169b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/weekly_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- cron: "0 0 * * SAT"

jobs:
weekle-tests:
weekly-tests:
name: Run weekly tests
runs-on: ubuntu-latest
timeout-minutes: 1440
Expand Down Expand Up @@ -114,16 +114,16 @@ jobs:
echo "failed_tests=$failed_tests" >> "$GITHUB_OUTPUT"
notify-on-failure:
needs: [weekle-tests]
needs: [weekly-tests]
if: ${{ failure() }}
name: Notify Mattermost Channel
runs-on: ubuntu-latest
steps:
- name: Create the Mattermost Message
env:
WEEKLE_TESTS: ${{ needs.weekle-tests.outputs.failed_tests }}
WEEKLY_TESTS: ${{ needs.weekly-tests.outputs.failed_tests }}
run: |
echo "{\"text\":\":robot_face: [Weekly tests]($GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID) have failed for these projects: $WEEKLE_TESTS\"}" > mattermost.json
echo "{\"text\":\":robot_face: [Weekly tests]($GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID) have failed for these projects: $WEEKLY_TESTS\"}" > mattermost.json
- uses: mattermost/action-mattermost-notify@master
env:
Expand Down

0 comments on commit 7b4169b

Please sign in to comment.