Cleanups typedoc GH action
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 22 Oct 2022 12:33:54 +0000 (14:33 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 22 Oct 2022 12:33:54 +0000 (14:33 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.github/workflows/generate-typedoc.yml

index 4ad20a798cac6917560ade4332035c70d4e711c5..d8f9a528b4e8d5e3eb5fd81ee6784272525e29d2 100644 (file)
@@ -11,9 +11,6 @@ jobs:
       - name: Checkout
         uses: actions/checkout@v3
 
-        # with:
-        #   persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
-        #   fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
       - name: Set node version to 16
         uses: actions/setup-node@v3
         with:
@@ -33,10 +30,7 @@ jobs:
 
       - name: Push changes
         if: "github.repository == 'poolifier/poolifier' && github.ref == 'refs/heads/${{ github.event.repository.default_branch }}'"
-        # uses: ad-m/github-push-action@master
         uses: CasperWA/push-protected@v2
         with:
-          # github_token: ${{ secrets.GITHUB_TOKEN }}
           token: ${{ secrets.GH_TOKEN_PROTECTED }}
           branch: ${{ github.event.repository.default_branch }}
-          unprotect_reviews: true