2022-09-05 21:09:41 +00:00
|
|
|
---
|
2022-09-15 12:07:58 +00:00
|
|
|
name: Sync repo files
|
2023-01-25 19:14:25 +00:00
|
|
|
on:
|
2022-09-05 21:09:41 +00:00
|
|
|
schedule:
|
|
|
|
- cron: '44 17 * * *'
|
2022-09-08 04:27:16 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2022-09-05 21:09:41 +00:00
|
|
|
jobs:
|
|
|
|
repo_sync:
|
|
|
|
runs-on: ubuntu-latest
|
2022-11-12 19:19:33 +00:00
|
|
|
if: github.repository_owner == 'prometheus'
|
2022-09-05 21:09:41 +00:00
|
|
|
container:
|
|
|
|
image: quay.io/prometheus/golang-builder
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- run: ./scripts/sync_repo_files.sh
|
2022-09-15 12:07:58 +00:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.PROMBOT_GITHUB_TOKEN }}
|