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