20 lines
462 B
YAML
20 lines
462 B
YAML
---
|
|
name: Sync repo files
|
|
on:
|
|
schedule:
|
|
- cron: '44 17 * * *'
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
repo_sync:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository_owner == 'prometheus'
|
|
container:
|
|
image: quay.io/prometheus/golang-builder
|
|
steps:
|
|
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
|
|
- run: ./scripts/sync_repo_files.sh
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.PROMBOT_GITHUB_TOKEN }}
|