Skip to content

only-new-issues does not seem to work on my setup #531

@EtienneM

Description

@EtienneM

When I execute my GitHub Action workflow, all offenses are shown and not only the new ones.

It might be related to the content of this PR: #520

My GitHub Action configuration file looks like:

on:
  push:

permissions:
  contents: read
  # allow read access to pull request. Use with `only-new-issues` option.
  pull-requests: read

jobs:
  linter:
    name: golangci-lint
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-go@v3
        with:
          go-version-file: "go.mod"
          check-latest: true
      - uses: golangci/golangci-lint-action@v3
        with:
          only-new-issues: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions