Skip to content

Commit 9b2b009

Browse files
committed
ci: remove custom GH token generation for now
1 parent 11a8930 commit 9b2b009

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

Diff for: .github/workflows/sdk_publish.yaml

+1-10
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
runs-on: ubuntu-latest
1818
outputs:
1919
pypi-token: ${{ steps.pypi-token.outputs.pypi-token }}
20-
gh-token: ${{ steps.gh-token.outputs.token }}
2120
steps:
2221
# Trusted Publisher PyPI token
2322
# See: https://docs.pypi.org/trusted-publishers/using-a-publisher/)
@@ -35,18 +34,10 @@ jobs:
3534
3635
# see the next step in the workflow for an example of using this step output
3736
echo "pypi-token=${api_token}" >> "${GITHUB_OUTPUT}"
38-
# Generate a GitHub App Installation token to allow this workflow to trigger other events (like release published)
39-
# See: https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/triggering-a-workflow#triggering-a-workflow-from-a-workflow
40-
- name: Generate a GitHub App Installation token
41-
id: gh-token
42-
uses: actions/create-github-app-token@v1
43-
with:
44-
app-id: ${{ secrets.INTERNAL_GHA_APP_ID }}
45-
private-key: ${{ secrets.INTERNAL_GHA_APP_PRIVATE_KEY }}
4637
publish:
4738
needs: tokens
4839
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
4940
secrets:
50-
github_access_token: ${{ needs.tokens.outputs.gh-token }}
41+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
5142
pypi_token: ${{ needs.tokens.outputs.pypi-token }}
5243
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

0 commit comments

Comments
 (0)