mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 11:45:51 +00:00
1e362af027
We have a pretty good triage team nowadays, no need for the repetitive automated response that noone bothers to fill out anyway. Most of the time, someone from the team will provide a reason already.
29 lines
732 B
YAML
29 lines
732 B
YAML
name: Label resolved issues
|
|
|
|
on:
|
|
issues:
|
|
types: [closed]
|
|
|
|
jobs:
|
|
label:
|
|
|
|
name: Label Issue
|
|
runs-on: ubuntu-latest
|
|
if: contains(github.event.issue.labels.*.name, '🐞 Bug Report')
|
|
|
|
steps:
|
|
- name: Query recent commits
|
|
uses: TheBusyBiscuit/recently-closed-issues@1.1.0
|
|
id: resolved
|
|
with:
|
|
token: ${{ secrets.ACCESS_TOKEN }}
|
|
max_commits: 20
|
|
|
|
- name: Add label
|
|
if: contains(steps.resolved.outputs.issues, github.event.issue.number)
|
|
uses: maxkomarychev/octions/octions/issues/add-labels@master
|
|
with:
|
|
token: ${{ secrets.ACCESS_TOKEN }}
|
|
issue_number: ${{ github.event.issue.number }}
|
|
labels: '✔ Resolved'
|