devblackops / github-action-psscriptanalyzer

GitHub Action to run PSScriptAnalyzer static code analysis
MIT License
72 stars 13 forks source link

No comment is posted on the PR #14

Closed revolter closed 3 years ago

revolter commented 3 years ago

I used this config:

name: ci

on:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main

jobs:
  lint:
    name: Run PSScriptAnalyzer
    runs-on: ubuntu-latest
    steps:
      - name: Checkout 🛎
        uses: actions/checkout@v2

      - name: Lint 🕵🏻‍♂️
        uses: devblackops/github-action-psscriptanalyzer@master
        with:
          repoToken: ${{ secrets.GITHUB_TOKEN }}

and even though it finds:

image

no comment is posted on the PR.

revolter commented 3 years ago

Oh, it doesn't post errors with the configuration file.