Skip to content

DO NOT MERGE Test exec #3

DO NOT MERGE Test exec

DO NOT MERGE Test exec #3

name: Validate Markdown
on:
pull_request_target:
types: [opened, syncrhonze, reopened]
paths:
- 'governance/votes/*.md'
branches:
- 'master'
jobs:
validate:
if: github.event.pull_request.merged == false
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install PyGithub python-frontmatter requests web3
- name: Validate Markdown Files
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: python .github/scripts/validate_markdown.py