Skip to content

Refactored Store as Class #8

Refactored Store as Class

Refactored Store as Class #8

Workflow file for this run

name: Label Automation
on:
pull_request_target:
types:
- closed
pull_request:
types:
- closed
issues:
types:
- closed
jobs:
scrap:
name: Mark as Scrapped
if: github.event.issue.state_reason == 'not planned' || github.event.pull_request.merged == false
runs-on: ubuntu-latest
steps:
- uses: fuxingloh/[email protected]
with:
config-path: .github/labeler_wontfix.yml
config-repo: Julexar/Item-Store
github-token: ${{ secrets.WORKFLOW_TOKEN }}
done:
name: Mark as Done
if: github.event.issue.state_reason == 'completed' || github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: fuxingloh/[email protected]
with:
config-path: .github/labeler_done.yml
config-repo: Julexar/Item-Store
github-token: ${{ secrets.WORKFLOW_TOKEN }}
remove:
name: Remove outdated Labels
runs-on: ubuntu-latest
if: (github.event.issue.state_reason == 'completed' && contains(github.event.issue.labels.*.name, 'in progress')) || (github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'in progress'))
steps:
- run: sleep 1
- uses: mondeja/[email protected]
with:
token: ${{ secrets.WORKFLOW_TOKEN }}
labels: in progress