mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-14 17:16:54 +02:00
* ci: address zizmor gh action vulnerabilities --------- Signed-off-by: Joe Harvey <51208233+jharvey10@users.noreply.github.com> Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
22 lines
513 B
YAML
22 lines
513 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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
with:
|
|
persist-credentials: false
|
|
- run: ./scripts/sync_repo_files.sh
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.PROMBOT_GITHUB_TOKEN }}
|