Skip to content

Update link_check_cron.yml #105

Update link_check_cron.yml

Update link_check_cron.yml #105

name: Check modules in PR for version incrementation
on:
pull_request:
branches: [ "main" ]
types: [opened, synchronize]
jobs:
check-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Get git diff to feed to script
run: |
git fetch origin main
git diff origin/main HEAD > git_diff.txt
- name: check git diff
run: cat git_diff.txt
- name: Check version numbers
run: bash .github/scripts/check_versions.sh git_diff.txt