public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Trace
.github/workflows/close_old_issues_and_prs.yml
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
Author
Date
Commit
Line
Code
1
name: 'Close stale issues and PRs'
2
on:
3
schedule:
4
# Once every day at midnight UTC
5
- cron: "0 0 * * *"
6
workflow_dispatch: # Allow to run workflow manually
7
issue_comment: # Run workflow on comments
9
jobs:
10
stale:
11
runs-on: ubuntu-latest
12
permissions:
13
issues: write
14
pull-requests: write
15
steps:
16
- name: Mark/Close Stale Issues and Pull Requests 🗑️
17
uses: actions/[email protected]
18
with:
19
repo-token: ${{ secrets.STALE_ACTION_PAT }}
20
days-before-stale: 60
21
days-before-close: 7
22
stale-issue-message: >
23
This issue has been automatically marked as stale because it has not had
24
recent activity. It will be closed if no further activity occurs.
25
stale-pr-message: >
26
This pull request has been automatically marked as stale because it has not had
27
recent activity. It will be closed if no further activity occurs.
28
exempt-issue-labels: "pinned,security,enhancement,investigating,neverstale"
29
exempt-pr-labels: "pinned,security,enhancement,investigating,neverstale"
30
stale-issue-label: "stale"
31
stale-pr-label: "stale"
32
exempt-draft-pr: "true"
33
close-issue-reason: "not_planned"
34
operations-per-run: "250"
35
ascending: "true"
36
#DRY-RUN
37
debug-only: "false"