Skip to content

Commit

Permalink
CI checks chapters
Browse files Browse the repository at this point in the history
  • Loading branch information
richelbilderbeek committed Jul 11, 2024
1 parent 76da61b commit 0b68bef
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/check_chapters.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

# Check links on the 21st day of the month.
# 21st as the first letter of this repo is the 21st letter in the alphabet.
on:
push:
pull_request:
schedule:
- cron: "0 0 21 * *"

name: check chapters

jobs:
check-links:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2

- name: Clone the code of all chapters
run: ./scripts/clone_all_chapters.sh

- name: Check if all chapters have copy-pasted code from tested repos
run: ./scripts/check_all_chapters_code.sh

0 comments on commit 0b68bef

Please sign in to comment.