mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-02 08:31:11 -08:00
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:
parent
d2701be53a
commit
35d6813963
2
.github/workflows/funcbench.yml
vendored
2
.github/workflows/funcbench.yml
vendored
|
@ -12,7 +12,7 @@ jobs:
|
||||||
BRANCH: ${{ github.event.client_payload.BRANCH }}
|
BRANCH: ${{ github.event.client_payload.BRANCH }}
|
||||||
BENCH_FUNC_REGEX: ${{ github.event.client_payload.BENCH_FUNC_REGEX }}
|
BENCH_FUNC_REGEX: ${{ github.event.client_payload.BENCH_FUNC_REGEX }}
|
||||||
PACKAGE_PATH: ${{ github.event.client_payload.PACKAGE_PATH }}
|
PACKAGE_PATH: ${{ github.event.client_payload.PACKAGE_PATH }}
|
||||||
GITHUB_TOKEN: ${{ secrets.PROMBOT_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.PROMBOT_GITHUB_TOKEN }}
|
||||||
GITHUB_ORG: prometheus
|
GITHUB_ORG: prometheus
|
||||||
GITHUB_REPO: prometheus
|
GITHUB_REPO: prometheus
|
||||||
GITHUB_STATUS_TARGET_URL: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
|
GITHUB_STATUS_TARGET_URL: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
|
||||||
|
|
3
.github/workflows/repo_sync.yml
vendored
3
.github/workflows/repo_sync.yml
vendored
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
|
name: Sync repo files
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '44 17 * * *'
|
- cron: '44 17 * * *'
|
||||||
|
@ -10,3 +11,5 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: ./scripts/sync_repo_files.sh
|
- run: ./scripts/sync_repo_files.sh
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.PROMBOT_GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in a new issue