Skip to content

Commit

Permalink
asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 committed Nov 23, 2024
1 parent 61552ad commit 4d239bc
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/photon-code-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,33 @@ concurrency:
cancel-in-progress: true

jobs:
changed:
runs-on: ubuntu-22.04
# Required permissions
permissions:
pull-requests: read
# Set job outputs to values from filter step
outputs:
docs: ${{ steps.filter.outputs.docs || steps.filter.outputs.workflow }}
code: ${{ steps.filter.outputs.code || steps.filter.outputs.workflow }}
steps:
- name: Check for non-docs file changes
uses: dorny/paths-filter@v2
id: filter
with:
list-files: 'shell'
filters: |
docs:
- 'docs/**'
workflow:
- '.github/**'
code:
- 'photon-*/**'
build-client:
name: "PhotonClient Build"
needs: changed
if: ${{ needs.changed.outputs.code == 'true' }}
defaults:
run:
working-directory: photon-client
Expand All @@ -52,6 +77,8 @@ jobs:

run_docs:
runs-on: "ubuntu-22.04"
needs: changed
if: ${{ needs.changed.outputs.code == 'true' }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down

0 comments on commit 4d239bc

Please sign in to comment.