docs: update changelog #26
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
name: Check paths | |
on: | |
workflow_call: | |
# Map the workflow outputs to job outputs | |
outputs: | |
githubfolder: | |
description: "changes to .github folder" | |
value: ${{ jobs.check_paths.githubfolder }} | |
push: | |
paths: | |
- "**/*" | |
- "!.github/**" # Important: Exclude PRs related to .github from auto-run | |
- "!.github/workflows/**" # Important: Exclude PRs related to .github/workflows from auto-run | |
- "!.github/actions/**" # Important: Exclude PRs related to .github/actions from auto-run | |
pull_request_target: | |
branches: ["master"] | |
paths: | |
- "**/*" | |
- "!.github/**" # Important: Exclude PRs related to .github from auto-run | |
- "!.github/workflows/**" # Important: Exclude PRs related to .github/workflows from auto-run | |
- "!.github/actions/**" # Important: Exclude PRs related to .github/actions from auto-run | |
permissions: | |
contents: read | |
jobs: | |
check_paths: | |
runs-on: ubuntu-24.04 | |
outputs: | |
githubfolder: ${{ steps.filter.outputs.githubfolder }} | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 | |
id: filter | |
with: | |
base: "master" # needed to set as a called workflow does not have direct access to repository.default_branch | |
filters: | | |
githubfolder: | |
- '.github/**' |