test #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GitHub Action | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
jobs: | |
md-dead-link-check: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
# - uses: AlexanderDokuchaev/[email protected] | |
# with: | |
# config: pyproject.toml | |
- name: Get all changed markdown files | |
id: changed-markdown-files | |
uses: tj-actions/changed-files@v43 | |
with: | |
# Avoid using single or double quotes for multiline patterns | |
files: | | |
**.md | |
- name: List all changed files markdown files | |
env: | |
ALL_CHANGED_FILES: ${{ steps.changed-markdown-files.outputs.all_changed_files }} | |
run: | | |
echo ${ALL_CHANGED_FILES} | |
echo "=====" | |
for file in ${ALL_CHANGED_FILES}; do | |
echo "$file was changed" | |
done |