[Maintenance] Repository Config Update pt 3 (#4363)
* updating integrations and manual backport tokens * updated no reply address * changed integrations to security docs token * changed integrations to security docs token
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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}}"
|
||||
|
||||
Reference in New Issue
Block a user