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:
|
2024-10-06 11:01:57 -07:00
|
|
|
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
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 }}
|