microsoft/onnxruntime-extensions

Public

mirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.14.0

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.github/workflows/stale-issue-handler.yml

39lines · modecode

1name: Close stale issues
2on:
3 # Allows you to dictate when you want this workflow to run using cron syntax (times in UTC)
4 schedule:
5 - cron: "0 15 * * *"
6 # Allows you to run this workflow manually from the Actions tab
7 # workflow_dispatch:
8
9jobs:
10 close-stale-issues:
11 runs-on: ubuntu-latest
12 permissions:
13 issues: write
14 pull-requests: write
15 steps:
16 - uses: actions/stale@v8
17 with:
18 # Comma separated list of labels that can be assigned to issues to exclude them from being marked as stale
19 exempt-issue-labels: contributions welcome, feature request, regression
20 # Override exempt-all-assignees but only to exempt the issues with an assignee to be marked as stale automatically
21 exempt-all-issue-assignees: true
22 # Used to ignore the issues and pull requests created before the start date
23 # Start date should be April 19, 2022 - corresponds to the day previous stale bot stopped working
24 start-date: '2022-04-19T00:00:00Z'
25 # Number of days without activity before the actions/stale action labels an issue
26 days-before-issue-stale: 90
27 # Number of days without activity before the actions/stale action closes an issue
28 days-before-issue-close: 30
29 # Label you want to apply to issues that have been inactive for the amount of time specified by days-before-issue-stale
30 stale-issue-label: "stale"
31 # Comment that you want to add to issues that are labeled by the actions/stale action
32 stale-issue-message: "This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details."
33 # Comment that you want to add to issues that are closed by the actions/stale action
34 close-issue-message: "This issue has been automatically closed due to inactivity. Please reactivate if further support is needed."
35 # If you never want this action to label PRs, set this value to -1
36 days-before-pr-stale: -1
37 # If you never want this action to close PRs, set this value to -1
38 days-before-pr-close: -1
39 repo-token: ${{ secrets.GITHUB_TOKEN }}