mirror of
https://github.com/stakater/Reloader.git
synced 2026-03-04 18:30:30 +00:00
test docs workflow
This commit is contained in:
24
.github/workflows/pull_request.yaml
vendored
24
.github/workflows/pull_request.yaml
vendored
@@ -56,6 +56,25 @@ jobs:
|
||||
check-latest: true
|
||||
cache: true
|
||||
|
||||
- uses: dorny/paths-filter@v3
|
||||
id: filter
|
||||
with:
|
||||
filters: |
|
||||
docs:
|
||||
- '.markdownlint.yaml'
|
||||
- '.vale.ini'
|
||||
- 'Dockerfile-docs'
|
||||
- 'docs-nginx.conf'
|
||||
- 'docs/**'
|
||||
- 'README.md'
|
||||
- 'theme_common'
|
||||
- 'theme_override'
|
||||
|
||||
# run only if 'workflows' files were changed
|
||||
- name: workflow tests
|
||||
if: steps.filter.outputs.docs == 'true'
|
||||
run: echo "Workflow file"
|
||||
|
||||
# Get highest tag and remove any suffixes with '-'
|
||||
- name: Get Highest tag
|
||||
id: highest_tag
|
||||
@@ -63,11 +82,6 @@ jobs:
|
||||
highest=$(git tag -l --sort -version:refname | head -n 1)
|
||||
echo "tag=${highest%%-*}" >> $GITHUB_OUTPUT
|
||||
|
||||
# Get highest tag and remove any suffixes with '-'
|
||||
- name: Print Highest tag
|
||||
run: |
|
||||
echo ${{ steps.highest_tag.outputs.tag }}
|
||||
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
make install
|
||||
|
||||
Reference in New Issue
Block a user