From 212299da0188827b57bfe7761f5dc4c2046446c0 Mon Sep 17 00:00:00 2001 From: Austin DeNoble Date: Fri, 6 Oct 2023 17:20:06 -0400 Subject: [PATCH] Fix merge workflow by adding checkout step (#214) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Problem The PR for adding pdoc integration via GitHub workflows was just merged: https://github.com/pinecone-io/pinecone-python-client/pull/207 The workflow is failing because we're not initially checking things out: https://github.com/pinecone-io/pinecone-python-client/actions/runs/6421593962/job/17436307034 >Error: Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/home/runner/work/pinecone-python-client/pinecone-python-client/.github/actions/build-docs'. Did you forget to run actions/checkout before running your local action? ## Solution - Add the `actions/checkout@v3` step to the start of the workflow ## Type of Change - [X] Bug fix (non-breaking change which fixes an issue) - [X] Infrastructure change (CI configs, etc) ## Test Plan I really need to get tooling setup to run these workflows locally to validate. This is a very tiny change and we should be able to re-evaluate on the merge. 😅 --- .github/workflows/merge.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/merge.yaml b/.github/workflows/merge.yaml index 49926765..5528aaa4 100644 --- a/.github/workflows/merge.yaml +++ b/.github/workflows/merge.yaml @@ -10,6 +10,9 @@ jobs: build-and-deploy-documentation: runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Generate pdoc documentation uses: ./.github/actions/build-docs