Skip to content

Commit

Permalink
ci: PLT-508: Force push mode for client generator
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitabelonogov committed Sep 26, 2024
1 parent a4c7dea commit 614ee9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/follow-merge-upstream-repo-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,14 @@ jobs:
- name: Download Fern
run: npm install -g fern-api

- name: Set Fern Generator Branch
- name: Set Fern Generator Branch and Mode
env:
BRANCH_NAME: "${{ steps.get-branch.outputs.branch_name }}"
FERN_GENERATOR_PATH: "fern/generators.yml"
working-directory: "${{ env.UPSTREAM_REPO_WORKDIR }}"
run: |
yq e --inplace ".groups.python-sdk-staging.generators[0].github.branch |= \"${BRANCH_NAME}\"" "${FERN_GENERATOR_PATH}"
yq e --inplace ".groups.python-sdk-staging.generators[0].github.mode |= \"push\"" "${FERN_GENERATOR_PATH}"
cat "${FERN_GENERATOR_PATH}"
- name: Check Fern API is valid
Expand Down

0 comments on commit 614ee9b

Please sign in to comment.