This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
Content for OAuth2/OIDC support for Kafka REST proxy #4019
Workflow file for this run
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: "LinkCheck - Changed files" | |
"on": | |
push: | |
branches: | |
- main | |
tags: | |
- "**" | |
pull_request: null | |
jobs: | |
prose: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v24 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Run linkcheck on .rst files | |
run: | | |
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do | |
if [ "${file: -4}" == ".rst" ] | |
then | |
var="$var $file" | |
fi | |
done | |
if [ -z "$var" ] | |
then | |
echo "No *.rst changed files to check." | |
else | |
make files="$var" linkcheck-specified-files | |
fi |