Skip to content

Restrict GitHub Actions runs to master branch #132

Restrict GitHub Actions runs to master branch

Restrict GitHub Actions runs to master branch #132

Workflow file for this run

name: checklinks
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: install URL-checking script
run: |
pip install requests markdown beautifulsoup4
wget https://raw.githubusercontent.com/yallop/check-markdown-urls/master/src/check_markdown_urls.py
- name: check the URLs
run: python check_markdown_urls.py README.md