Skip to content

Commit 6d00290

Browse files
committed
chore(ci): removed secret usage
1 parent 4848d4c commit 6d00290

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

.github/workflows/reusable-publish-docs.yml

-10
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,14 @@ on:
2020
required: false
2121
default: false
2222
type: boolean
23-
workflow_origin: # see https://github.com/awslabs/aws-lambda-powertools-python/issues/1349
24-
required: true
25-
type: string
26-
secrets:
27-
token:
28-
required: true
2923

3024
jobs:
3125
publish-docs:
32-
# see https://github.com/awslabs/aws-lambda-powertools-python/issues/1349
33-
if: ${{ inputs.workflow_origin == 'awslabs/aws-lambda-powertools-typescript' }}
3426
runs-on: ubuntu-latest
3527
steps:
3628
- name: Checkout code
3729
uses: actions/checkout@v3
3830
with:
39-
# Here `token` is needed to avoid incurring in error GH006 Protected Branch Update Failed,
40-
token: ${{ secrets.token }}
4131
# While `fetch-depth` is used to allow the workflow to later commit & push the changes.
4232
fetch-depth: 0
4333
- name: Setup NodeJS

0 commit comments

Comments
 (0)