diff --git a/.github/workflows/manual-backport.yml b/.github/workflows/manual-backport.yml index 692625123..1751c8680 100644 --- a/.github/workflows/manual-backport.yml +++ b/.github/workflows/manual-backport.yml @@ -21,7 +21,7 @@ jobs: - name: Checkout detection-rules uses: actions/checkout@v3 with: - token: ${{ secrets.WRITE_TRADEBOT_DETECTION_RULES_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} fetch-depth: 0 - name: Set github config diff --git a/.github/workflows/release-docs.yml b/.github/workflows/release-docs.yml index fb5f9e35a..5274b707b 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@v3 with: - token: ${{ secrets.WRITE_INTEGRATIONS_DETECTION_RULES_TOKEN }} + token: ${{ secrets.WRITE_SECURITY_DOCS_DETECTION_RULES_TOKEN }} repository: "elastic/security-docs" path: security-docs fetch-depth: 0 @@ -64,8 +64,8 @@ jobs: - name: Set github config run: | - git config --global user.email "72879786+protectionsmachine@users.noreply.github.com" - git config --global user.name "protectionsmachine" + git config --global user.email "178941316+tradebot-elastic@users.noreply.github.com" + git config --global user.name "tradebot-elastic" - name: Commit and push changes env: @@ -79,7 +79,7 @@ jobs: - name: Create PR to elastic/security-docs env: - GITHUB_TOKEN: ${{ secrets.WRITE_TRADEBOT_DETECTION_RULES_TOKEN }} + GITHUB_TOKEN: ${{ secrets.WRITE_SECURITY_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}}"