Skip to content

Commit

Permalink
Check URLs every day (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis-Averin committed May 10, 2024
1 parent 35f4483 commit 126dab1
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/check-codegen.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Check pull request

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
Expand All @@ -22,16 +22,6 @@ jobs:
git submodule update --recursive --remote
git diff --exit-code
check-urls:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Check all URLs
run: ./scripts/check_all_urls.sh

check-swagger:
runs-on: ubuntu-latest
needs: [check-submodules]
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/check-urls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Check URLs

on:
# Run on each PR to main
pull_request:
branches:
- main
# And every day at 03:00 UTC
schedule:
- cron: '0 3 * * *'


jobs:
check-urls:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Check all URLs
run: ./scripts/check_all_urls.sh

0 comments on commit 126dab1

Please sign in to comment.