Skip to content

Commit

Permalink
Update check-api-outdated.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki authored May 21, 2024
1 parent 9f4c281 commit e7f81a8
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/check-api-outdated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,28 @@ on:
schedule:
# “At 4 am on every day.” (https://crontab.guru)
# - cron: "0 4 * * *"
- cron: "0 9-14 * * *"
- cron: "* 9-14 * * *"


jobs:

check-api-outdated:
verify-events:
name: Verified Correct Identification of Trigger Events
runs-on: ubuntu-latest
strategy:
fail-fast: false

steps:
- name: Intentionally failing event
run: false
- name: Report Failure Status to Slack Channel
if: ${{ failure() }}
run: echo "job failed"
- name: Report Failure Status to Slack Channel
if: ${{ failure() && github.event_name == "schedule" }}
run: echo "job failed and was triggered by schedule"

check-api-outdated:
name: Check if OpenAPI Generated From JSON is Outdated
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit e7f81a8

Please sign in to comment.