mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -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>
23 lines
422 B
YAML
23 lines
422 B
YAML
name: 'Lock Threads'
|
|
|
|
on: # yamllint disable-line rule:truthy
|
|
schedule:
|
|
- cron: '13 23 * * *'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
issues: write
|
|
|
|
concurrency:
|
|
group: lock
|
|
|
|
jobs:
|
|
action:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: dessant/lock-threads@v3
|
|
with:
|
|
process-only: 'issues'
|
|
issue-inactive-days: '180'
|
|
github-token: ${{ secrets.PROMBOT_LOCKTHREADS_TOKEN }}
|