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-11-01 23:32:08 +00:00
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
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 }}
|