Modify actions to avoid processing when only doc PRs #1
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
# | ||
# 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" | ||