Add secret for repo sync (#11309)

* Add secret for repo sync

Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>

* Add name for repo_sync

Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>

* Update token for funcbench

Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>

Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
This commit is contained in:
Julien Pivotto 2022-09-15 14:07:58 +02:00 committed by GitHub
parent d2701be53a
commit 35d6813963
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -12,7 +12,7 @@ jobs:
BRANCH: ${{ github.event.client_payload.BRANCH }}
BENCH_FUNC_REGEX: ${{ github.event.client_payload.BENCH_FUNC_REGEX }}
PACKAGE_PATH: ${{ github.event.client_payload.PACKAGE_PATH }}
GITHUB_TOKEN: ${{ secrets.PROMBOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PROMBOT_GITHUB_TOKEN }}
GITHUB_ORG: prometheus
GITHUB_REPO: prometheus
GITHUB_STATUS_TARGET_URL: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}

View File

@ -1,4 +1,5 @@
---
name: Sync repo files
on:
schedule:
- cron: '44 17 * * *'
@ -10,3 +11,5 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: ./scripts/sync_repo_files.sh
env:
GITHUB_TOKEN: ${{ secrets.PROMBOT_GITHUB_TOKEN }}