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:
|
2023-09-13 13:27:38 +00:00
|
|
|
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
2022-09-05 21:09:41 +00:00
|
|
|
- run: ./scripts/sync_repo_files.sh
|
2022-09-15 12:07:58 +00:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.PROMBOT_GITHUB_TOKEN }}
|