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>
pull/11313/head
Julien Pivotto 2 years ago committed by GitHub
parent d2701be53a
commit 35d6813963
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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}}

@ -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 }}

Loading…
Cancel
Save