From 48aa99dba50c01b8d3c639482076d1dbbb427c50 Mon Sep 17 00:00:00 2001 From: Matt Morley Date: Sat, 23 Nov 2024 10:21:59 -0800 Subject: [PATCH] ooga booga --- .github/workflows/build.yml | 4 ++++ .github/workflows/photon-code-docs.yml | 2 ++ .github/workflows/photonvision-docs.yml | 2 ++ .github/workflows/python.yml | 2 ++ 4 files changed, 10 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c976c97a38..0492071f61 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,6 +13,7 @@ on: jobs: changed: runs-on: ubuntu-22.04 + # Required permissions permissions: pull-requests: read @@ -20,7 +21,10 @@ jobs: outputs: docs: ${{ steps.filter.outputs.docs == 'true' || steps.filter.outputs.workflow == 'true' }} code: ${{ steps.filter.outputs.code == 'true' || steps.filter.outputs.workflow == 'true' }} + steps: + - uses: actions/checkout@v4 + if: github.event_name != 'pull_request' - name: Check for file changes uses: dorny/paths-filter@v2 id: filter diff --git a/.github/workflows/photon-code-docs.yml b/.github/workflows/photon-code-docs.yml index ec8b94c01e..a1744543b8 100644 --- a/.github/workflows/photon-code-docs.yml +++ b/.github/workflows/photon-code-docs.yml @@ -31,6 +31,8 @@ jobs: docs: ${{ steps.filter.outputs.docs == 'true' || steps.filter.outputs.workflow == 'true' }} code: ${{ steps.filter.outputs.code == 'true' || steps.filter.outputs.workflow == 'true' }} steps: + - uses: actions/checkout@v4 + if: github.event_name != 'pull_request' - name: Check for file changes uses: dorny/paths-filter@v2 id: filter diff --git a/.github/workflows/photonvision-docs.yml b/.github/workflows/photonvision-docs.yml index 98a92ef1f1..43750083ce 100644 --- a/.github/workflows/photonvision-docs.yml +++ b/.github/workflows/photonvision-docs.yml @@ -21,6 +21,8 @@ jobs: docs: ${{ steps.filter.outputs.docs == 'true' || steps.filter.outputs.workflow == 'true' }} code: ${{ steps.filter.outputs.code == 'true' || steps.filter.outputs.workflow == 'true' }} steps: + - uses: actions/checkout@v4 + if: github.event_name != 'pull_request' - name: Check for file changes uses: dorny/paths-filter@v2 id: filter diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 40b8fff091..c20f9dcfc5 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -22,6 +22,8 @@ jobs: outputs: py: ${{ steps.filter.outputs.python == 'true' || steps.filter.outputs.workflow == 'true' }} steps: + - uses: actions/checkout@v4 + if: github.event_name != 'pull_request' - name: Check for file changes uses: dorny/paths-filter@v2 id: filter