Skip to content

[NEW CHECK] test-and-release: unneeded actions #834

@mcm1957

Description

@mcm1957

I'm sure that

  • This issue does not report a false-positive detection (use dedicated template for this)
  • This issue does not request a change or removal of existing check (use dedicated template for this)
  • There is no other (open) issue with the same topic (use the search!)

Description of check to be added

If a job (all of them) contains ONLY iobroker/xxx action no checkout is required. -> warning

check-and-lint:
if: contains(github.event.head_commit.message, '[skip ci]') == false

runs-on: ubuntu-latest

steps:
  - uses: actions/checkout@v6
  - uses: ioBroker/testing-action-check@v2.0.0
    with:
      node-version: "20.x"
      type-checking: true
      lint: true

see https://github.com/krobipd/ioBroker.hueemu/blob/46c30254031ec44ca38b81e98f21bc9a95a5f80d/.github/workflows/test-and-release.yml#L25

Link to repository

krobipd/ioBroker.hueemu

Checker version

5.10.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    TRIAGEThis issue has not yet been reviewed.enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions