mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-10 07:34:04 -08:00
04dd6be1a0
Currently all the github actions return warnings because the "on" keyword in the yaml files are being interpreted as a "truthy" value by yamllint. To ignore this behavior I added a rule which ignores the "on". See https://github.com/adrienverge/yamllint/issues/430. Signed-off-by: Gabriel Goller <gabriel.goller@acs.it> Signed-off-by: Gabriel Goller <gabriel.goller@acs.it> Co-authored-by: Gabriel Goller <gabriel.goller@acs.it>
16 lines
373 B
YAML
16 lines
373 B
YAML
---
|
|
name: Sync repo files
|
|
on: # yamllint disable-line rule:truthy
|
|
schedule:
|
|
- cron: '44 17 * * *'
|
|
jobs:
|
|
repo_sync:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: quay.io/prometheus/golang-builder
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: ./scripts/sync_repo_files.sh
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.PROMBOT_GITHUB_TOKEN }}
|