mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-01-19 00:07:17 +01:00
888ef104a2
# Description https://github.com/Stirling-Tools/Stirling-PDF/security/code-scanning/197 https://github.com/Stirling-Tools/Stirling-PDF/security/code-scanning/198 https://github.com/Stirling-Tools/Stirling-PDF/security/code-scanning/199 ## Checklist - [x] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md) - [x] I have performed a self-review of my own code - [ ] I have attached images of the change if it is UI based - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] If my code has heavily changed functionality I have updated relevant docs on [Stirling-PDFs doc repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/) - [x] My changes generate no new warnings - [ ] I have read the section [Add New Translation Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only)
41 lines
1.4 KiB
YAML
41 lines
1.4 KiB
YAML
name: Close stale issues
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "30 0 * * *"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
steps:
|
|
- name: Harden Runner
|
|
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
|
|
with:
|
|
egress-policy: audit
|
|
|
|
- name: 30 days stale issues
|
|
uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
days-before-stale: 30
|
|
days-before-close: 7
|
|
stale-issue-message: >
|
|
This issue has been automatically marked as stale because it has had no recent activity.
|
|
It will be closed if no further activity occurs. Thank you for your contributions.
|
|
close-issue-message: >
|
|
This issue has been automatically closed because it has had no recent activity after being marked as stale.
|
|
Please reopen if you need further assistance.
|
|
stale-issue-label: "Stale"
|
|
remove-stale-when-updated: true
|
|
only-issue-labels: "more-info-needed"
|
|
days-before-pr-stale: -1 # Prevents PRs from being marked as stale
|
|
days-before-pr-close: -1 # Prevents PRs from being closed
|
|
start-date: "2024-07-06T00:00:00Z" # ISO 8601 Format
|