Slimefun error athernos #167
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Label resolved issues | |
on: | |
issues: | |
types: [closed] | |
permissions: | |
contents: read | |
issues: write | |
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/[email protected] | |
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' |