Skip to content

How to use in Github Action - Wrong Dokumentation #2

@floriankoch

Description

@floriankoch

Hi,

i try to use this in a GitHub Action

This gives me a syntax error, because i need to specify the reference in the form

org/repo/@Version

The Generated Version from the Makretpace uses the correct reference, but the Documentation is wrong
microsoft/psscriptanalyzer-action@v1.0


name: Powershell PSScriptAnalyzer CI

on:
  push:
    branches: [ develop ]


jobs:
  pwsh_ci:
    runs-on: windows-latest
    name: PSScriptAanalyzer
    steps:
      - name: "Checkout GitHub Action"
        uses: actions/checkout@v2
      - name: Run PSScriptAnalyzer
        uses: -psscriptanalyzer-action
        with:
          path: .\
          recurse: true 
          output: results.sarif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions