Skip to content

Cron stale Management #2197

Cron stale Management

Cron stale Management #2197

Workflow file for this run

name: Cron stale Management
on:
schedule:
- cron: '0 */12 * * *'
jobs:
# Automatically labels all pull requests based on changed files
labeler:
runs-on: ubuntu-latest
steps:
- name: Get Configurations
uses: Videndum/[email protected]
with:
settings: ${{ secrets.SETTINGS }}
mode: 'environment'
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/[email protected]
if: ${{env.stale_enabled}} == true
with:
repo-token: ${{ secrets.BOT_TOKEN }}
stale-issue-message: ${{env.stale_issue-message}}
stale-issue-label: ${{env.stale_issue-label}}
stale-pr-message: ${{env.stale_pr-message}}
stale-pr-label: ${{env.stale_pr-label}}
exempt-issue-labels: ${{env.stale_exempt-issue-labels}}
days-before-stale: ${{env.stale_days-before-stale}}
days-before-close: ${{env.stale_days-before-close}}