File: stale.yml

package info (click to toggle)
intel-graphics-compiler2 2.24.13-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 113,504 kB
  • sloc: cpp: 812,849; lisp: 288,219; ansic: 102,423; python: 4,010; yacc: 2,588; lex: 1,666; pascal: 318; sh: 162; makefile: 38
file content (33 lines) | stat: -rw-r--r-- 1,023 bytes parent folder | download
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
29
30
31
32
33
#=========================== begin_copyright_notice ============================
#
# Copyright (C) 2021-2023 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
#============================ end_copyright_notice =============================

name: Stale Pull Requests
on:
  schedule:
    - cron: '30 1 * * *'  # run every day
  workflow_dispatch: {}

permissions: read-all

jobs:
  stale:
    permissions:
      contents: write
      issues: write
      pull-requests: write
    runs-on: [self-hosted, Linux]
    steps:
      - uses: actions/stale@v9
        with:
          stale-pr-label: stale
          stale-pr-message: 'This PR is stale because it has been open 60 days with no activity. Make a comment or remove the "stale" label to avoid closing the PR after 7 days.'
          close-pr-message: 'This PR was closed because it was flagged as "stale" for over 7 days with no activity.'
          days-before-stale: 60
          days-before-close: 7
          operations-per-run: 2000
          delete-branch: true