| Markdown Linter |
Runs Markdown quality checks using Super Linter and creates issues for violations found across the repository.
|
| workflow_dispatch |
schedule |
steps |
|
|
| uses |
name |
with |
| actions/checkout@de0fac2e45 |
Checkout the select-copilot-pat action folder |
| persist-credentials |
sparse-checkout |
sparse-checkout-cone-mode |
fetch-depth |
| false |
.github/actions/select-copilot-pat |
true |
1 |
|
|
| id |
name |
uses |
env |
| select-copilot-pat |
Select Copilot token from pool |
./.github/actions/select-copilot-pat |
| SECRET_0 |
SECRET_1 |
SECRET_2 |
SECRET_3 |
SECRET_4 |
SECRET_5 |
SECRET_6 |
SECRET_7 |
| ${{ secrets.COPILOT_GITHUB_TOKEN }} |
${{ secrets.COPILOT_GITHUB_TOKEN_2 }} |
${{ secrets.COPILOT_GITHUB_TOKEN_3 }} |
${{ secrets.COPILOT_GITHUB_TOKEN_4 }} |
${{ secrets.COPILOT_GITHUB_TOKEN_5 }} |
${{ secrets.COPILOT_GITHUB_TOKEN_6 }} |
${{ secrets.COPILOT_GITHUB_TOKEN_7 }} |
${{ secrets.COPILOT_GITHUB_TOKEN_8 }} |
|
|
|
|
${{ !(github.event_name == 'schedule' && github.event.repository.fork) }} |
| pre-activation |
super_linter |
| outputs |
| copilot_pat_number |
| ${{ steps.select-copilot-pat.outputs.copilot_pat_number }} |
|
|
| runs-on |
permissions |
steps |
| ubuntu-latest |
| contents |
packages |
statuses |
| read |
read |
write |
|
|
|
| name |
uses |
id |
env |
| Super-linter |
super-linter/super-linter@61abc07d75 |
super-linter |
| GITHUB_TOKEN |
CREATE_LOG_FILE |
LOG_FILE |
DEFAULT_BRANCH |
ENABLE_GITHUB_ACTIONS_STEP_SUMMARY |
VALIDATE_MARKDOWN |
VALIDATE_ALL_CODEBASE |
| ${{ secrets.GITHUB_TOKEN }} |
true |
super-linter.log |
main |
true |
true |
true |
|
|
| name |
id |
run |
| Check for linting issues |
check-results |
if [ -f "super-linter.log" ] && [ -s "super-linter.log" ]; then
if grep -qE "ERROR|WARN|FAIL" super-linter.log; then
echo "needs-linting=true" >> "$GITHUB_OUTPUT"
else
echo "needs-linting=false" >> "$GITHUB_OUTPUT"
fi
else
echo "needs-linting=false" >> "$GITHUB_OUTPUT"
fi
|
|
|
|
|
|
|
| id |
env |
| copilot |
| COPILOT_GITHUB_TOKEN |
| ${{ case(needs.pre_activation.outputs.copilot_pat_number == '0', secrets.COPILOT_GITHUB_TOKEN, needs.pre_activation.outputs.copilot_pat_number == '1', secrets.COPILOT_GITHUB_TOKEN_2, needs.pre_activation.outputs.copilot_pat_number == '2', secrets.COPILOT_GITHUB_TOKEN_3, needs.pre_activation.outputs.copilot_pat_number == '3', secrets.COPILOT_GITHUB_TOKEN_4, needs.pre_activation.outputs.copilot_pat_number == '4', secrets.COPILOT_GITHUB_TOKEN_5, needs.pre_activation.outputs.copilot_pat_number == '5', secrets.COPILOT_GITHUB_TOKEN_6, needs.pre_activation.outputs.copilot_pat_number == '6', secrets.COPILOT_GITHUB_TOKEN_7, needs.pre_activation.outputs.copilot_pat_number == '7', secrets.COPILOT_GITHUB_TOKEN_8, secrets.COPILOT_GITHUB_TOKEN) }} |
|
|
| contents |
actions |
issues |
| read |
read |
read |
|
| cache-memory |
edit |
bash |
| true |
|
| cat |
| grep |
| head |
| tail |
| find |
| ls |
| wc |
| sort |
| uniq |
| date |
|
|
| create-issue |
noop |
| expires |
title-prefix |
labels |
max |
| 2d |
[linter] |
|
1 |
|
|
|
|
15 |
|