Skip to content

Commit b2e8c15

Browse files
authored
cdk publish: add required token to commit to master and --no-cache for getting just-published version from pypi (#36864)
1 parent 93c161b commit b2e8c15

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish-cdk-command-manually.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
with:
9898
repository: ${{ github.event.inputs.repo }}
9999
ref: ${{ github.event.inputs.gitref }}
100-
token: ${{ secrets.GH_PAT_MAINTENANCE_OSS }}
100+
token: ${{ secrets.GH_PAT_MAINTENANCE_OSS }} # This token is what allows us to commit directly to master
101101
- name: "Publish Python CDK: bump Poetry package version"
102102
id: bumpversion
103103
run: |
@@ -206,10 +206,12 @@ jobs:
206206
with:
207207
repository: ${{ github.event.inputs.repo }}
208208
ref: ${{ github.event.inputs.gitref }}
209+
token: ${{ secrets.GH_PAT_MAINTENANCE_OSS }} # This token is what allows us to commit directly to master
209210
- name: Bump CDK dependency of source-declarative-manifest
210211
run: |
211212
cd airbyte-integrations/connectors/source-declarative-manifest
212-
poetry add airbyte-cdk==${{needs.bump-version.outputs.new_cdk_version}}
213+
# --no-cache is used to ensure the latest version is fetched. Let's see if we need to add a wait...
214+
poetry add airbyte-cdk==${{needs.bump-version.outputs.new_cdk_version}} --no-cache
213215
- name: Bump version of source-declarative-manifest
214216
uses: ./.github/actions/run-airbyte-ci
215217
with:

0 commit comments

Comments
 (0)