diff --git a/.github/workflows/release-docs.yml b/.github/workflows/release-docs.yml index ffd23c58e..d2a1d2ddb 100644 --- a/.github/workflows/release-docs.yml +++ b/.github/workflows/release-docs.yml @@ -31,7 +31,7 @@ jobs: - name: Checkout elastic/security-docs uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4 with: - token: ${{ secrets.WRITE_SECURITY_DOCS_DETECTION_RULES_TOKEN }} + token: ${{ secrets.WRITE_DOCS_DETECTION_RULES_TOKEN }} repository: "elastic/security-docs" path: security-docs fetch-depth: 0 @@ -79,7 +79,7 @@ jobs: - name: Create PR to elastic/security-docs env: - GITHUB_TOKEN: ${{ secrets.WRITE_SECURITY_DOCS_DETECTION_RULES_TOKEN }} + GITHUB_TOKEN: ${{ secrets.WRITE_DOCS_DETECTION_RULES_TOKEN }} POST_VERSION: "v${{ github.event.inputs.post_version }}" TARGET_BRANCH: "${{ github.event.inputs.target_branch }}" UPDATE_BRANCH: "update-security-docs-prebuilt-rules-${{github.event.inputs.post_version}}"