Skip to content

Commit

Permalink
Fix merge workflow by adding checkout step (#214)
Browse files Browse the repository at this point in the history
## Problem
The PR for adding pdoc integration via GitHub workflows was just merged:
#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. 😅
  • Loading branch information
austin-denoble authored Oct 6, 2023
1 parent 1b625d8 commit 212299d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 212299d

Please sign in to comment.