Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 19 additions & 3 deletions .github/label-commenter-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,30 @@ labels:
This issue has been closed as we only track bugs here.

You can get community support on [forums](https://forum.glpi-project.org/) or you can consider [taking a subscription](https://glpi-project.org/subscriptions/) to get professional support.
You can also [contact GLPI editor team](https://portal.glpi-network.com/contact-us) directly.
You can also [contact GLPI editor team](https://glpi-project.org/contact_us/) directly.
action: "close"
- name: "feature suggestion"
labeled:
issue:
body: |
This issue has been closed as we only track bugs here.

You can open a topic to discuss with community about this enhancement on [suggestion website](https://glpi.userecho.com/).
You can also [contact GLPI editor team](https://portal.glpi-network.com/contact-us) directly if you are willing to sponsor this feature.
You can open a topic to discuss with community about this enhancement on [suggestion website](https://suggest.glpi-project.org).
You can also [contact GLPI editor team](https://glpi-project.org/contact_us/) directly if you are willing to sponsor this feature.
action: "close"
- name: "not reproducible"
labeled:
issue:
body: |
This issue has been closed because we could not reproduce it on the latest release.

Feel free to reopen it with the exact steps to reproduce it on the latest release.
action: "close"
- name: "security report"
labeled:
issue:
body: |
This issue has been closed because security problems must not be reported publicly.

Please edit it to remove the vulnerability details, then report it privately as described in our [security policy](https://github.com/pluginsGLPI/.github/blob/main/SECURITY.md).
action: "close"
20 changes: 18 additions & 2 deletions .github/workflows/close_stale_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
pull-requests: "write" # for actions/stale to close stale pull requests
runs-on: "ubuntu-latest"
steps:
- uses: "actions/stale@v11"
- uses: "actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93" # v11.0.0
with:
stale-issue-message: >-
There has been no activity on this issue for 60 days and therefore it is considered stale
Expand All @@ -28,9 +28,25 @@ jobs:
days-before-issue-stale: 60
days-before-pr-stale: 90
days-before-close: 14
exempt-issue-labels: "bug,enhancement,question,security" # Issues with "bug", "enhancement", "question" or "security" labels will not be marked as stale
exempt-issue-labels: "bug,enhancement,question,security,need feedback" # Issues with "bug", "enhancement", "question" or "security" labels will not be marked as stale, "need feedback" ones are handled by the next step
exempt-pr-labels: "security" # PR with "security" label will not be marked as stale
exempt-draft-pr: true # Draft PR are work in progress.
exempt-all-milestones: true # Do not check issues/PR with defined milestone.
ascending: true # First check older issues/PR.
operations-per-run: 750 # Max API calls per run.
# Shares the "_state" cache of the step above, harmless as long as each run processes every issue
- uses: "actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93" # v11.0.0
with:
only-labels: "need feedback"
stale-issue-message: >-
The requested information has not been provided for 30 days,
this issue will be closed automatically in 14 days.
close-issue-message: >-
This issue has been closed because the requested information has not been provided.
Feel free to reopen it with the requested information.
days-before-issue-stale: 30
days-before-issue-close: 14
days-before-pr-stale: -1
days-before-pr-close: -1
ascending: true
operations-per-run: 750
23 changes: 23 additions & 0 deletions .github/workflows/need-feedback.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Need feedback"

on:
issue_comment:
types:
- "created"

jobs:
answered:
if: >-
github.repository == 'pluginsGLPI/advancedforms'
&& github.event.comment.user.login == github.event.issue.user.login
&& contains(github.event.issue.labels.*.name, 'need feedback')
permissions:
issues: "write"
runs-on: "ubuntu-latest"
steps:
- name: "Remove the need feedback label"
env:
GH_TOKEN: "${{ github.token }}"
GH_REPO: "${{ github.repository }}"
ISSUE_NUMBER: "${{ github.event.issue.number }}"
run: gh issue edit "$ISSUE_NUMBER" --remove-label "need feedback"
Loading