arahatashun/vscode-actionlint

.github/actionlint.yaml not work

Opened this issue · 1 comments

jk2K commented

refer to https://github.com/rhysd/actionlint/blob/main/docs/config.md

I want to add custom-label for my self-hosted runner

.github/actionlint.yaml

self-hosted-runner:
  # Labels of self-hosted runner in array of string
  labels:
    - centos-7.7

but I got error

image

.github/workflows/1.yaml

name: test1
on:
  workflow_dispatch:
    inputs:
      recordId:
        description: recordId
        default: "0"

jobs:
  job1:
    name: test
    runs-on: centos-7.7
    steps:
      - name: "step1"
        run: |
          echo "Hello World"

Same here, have actionlint.yaml with labels and they are ignored