mirror of
https://github.com/prometheus/prometheus.git
synced 2026-03-07 06:31:03 +01:00
* Bump promu to latest release. * Update actions/checkout. * Update Go to 1.26.x for golangci-lint in synced repos. * Improve golangci-lint push filter for synced repos. Signed-off-by: SuperQ <superq@gmail.com>
23 lines
537 B
YAML
23 lines
537 B
YAML
---
|
|
name: Sync repo files
|
|
on:
|
|
schedule:
|
|
- cron: '44 17 * * *'
|
|
workflow_dispatch: {}
|
|
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
persist-credentials: false
|
|
- run: ./scripts/sync_repo_files.sh
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.PROMBOT_GITHUB_TOKEN }}
|