Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Update documentation for 1.20.1 #405

Update documentation for 1.20.1

Update documentation for 1.20.1 #405

Workflow file for this run

name: Check for links pointing to Anbox docs
on:
- push
- pull_request
jobs:
check:
name: Check docs links
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@v35
with:
files_ignore: |
.github
release-notes
- name: Find Anbox Cloud docs links
id: find-anbox-cloud-docs-links
run: |
awk '{
# Use match explicitly to have access to retrieve column numbers
# with RSTART and RLENGTH
if (match($0, "anbox-cloud.io/docs") != 0)
print "::error file="FILENAME\
",line="FNR\
",col="RSTART\
",endColumn="RSTART+RLENGTH\
",title=Incorrect docs link"\
"::Documentation links should point to Discourse"
}' ${{ steps.changed-files.outputs.all_changed_files }}