generated from Resnovas/workflow-mastermind
-
Notifications
You must be signed in to change notification settings - Fork 1
28 lines (26 loc) · 960 Bytes
/
cron-stale.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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}}