Skip to content

Modify actions to avoid processing when only doc PRs #1

Modify actions to avoid processing when only doc PRs

Modify actions to avoid processing when only doc PRs #1

Workflow file for this run

#

Check failure on line 1 in .github/workflows/documentation.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/documentation.yml

Invalid workflow file

you may only define one of `paths` and `paths-ignore` for a single event
# SPDX-License-Identifier: Apache-2.0
#
name: Update Documentation
on:
push:
paths:
- '**.md'
paths-ignore:
- '!**.md'
pull_request:
paths:
- '**.md'
paths-ignore:
- '!**.md'
jobs:
log:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: log file updated
run: |
echo "Updated documentation"