Skip to content

Require labels on pull requests #205

Require labels on pull requests

Require labels on pull requests #205

Workflow file for this run

name: CI
on:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
branches:
- main
jobs:
label:
name: "Require label"
runs-on: windows-latest
steps:
- name: Verify labels
uses: mheap/github-action-required-labels@v5
with:
mode: exactly
count: 1
add_comment: true
labels: |
ignore-for-release-notes
feature
enhancement
bug
documentation
development
dependencies
build:
name: "Build, lint and pack"
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: "20.11.0"
cache: "npm"
cache-dependency-path: "package-lock.json"
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Lint
run: npm run lint
- name: Pack
uses: neilenns/streamdeck-cli-pack@v1
- name: Save packaged plugin
uses: actions/upload-artifact@v4
with:
name: Streamdeck-TrackAudio
path: |
com.neil-enns.trackaudio.streamDeckPlugin