Skip to content

[WIP] Docs: fix reStructuredText syntax for figures #5

[WIP] Docs: fix reStructuredText syntax for figures

[WIP] Docs: fix reStructuredText syntax for figures #5

Workflow file for this run

name: Check changed files
on:
pull_request:
concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-checkdiff
cancel-in-progress: true
jobs:
check_diff:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get changed files
env:
BASE_REF: ${{ github.event.pull_request.base.ref }}
HEAD_REF: ${{ github.event.pull_request.head.ref }}
run: |
git diff --name-only --diff-filter=ACMRTUXB ${BASE_REF}..${HEAD_REF} > check_diff.txt
- name: Check changed files
run: |
if grep -v -E "^(docs|\.github)/" check_diff.txt; then
echo "skip=false" >> ${GITHUB_OUTPUT}
else
echo "skip=true" >> ${GITHUB_OUTPUT}
fi
outputs:
skip: ${{ steps.check.outputs.skip }}