diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index ad47ade..56a7542 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -7,22 +7,18 @@ on: - dev paths-ignore: - '**.md' - - '.github/FUNDING.yml' - - '.github/release-drafter.yml' - - '.github/ISSUE_TEMPLATE/*' - - '.github/workflows/pull-request.yml' - - '.github/workflows/release-drafter.yml' + - '**.yml' + - '**.yaml' + - '!.github/workflows/codeql.yml' pull_request: branches: - master - dev paths-ignore: - '**.md' - - '.github/FUNDING.yml' - - '.github/release-drafter.yml' - - '.github/ISSUE_TEMPLATE/*' - - '.github/workflows/pull-request.yml' - - '.github/workflows/release-drafter.yml' + - '**.yml' + - '**.yaml' + - '!.github/workflows/codeql.yml' schedule: # ┌───────────── minute (0 - 59) # │ ┌───────────── hour (0 - 23) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f595e42..d0481a1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,26 +7,20 @@ on: - dev paths-ignore: - '**.md' - - '.github/FUNDING.yml' - - '.github/release-drafter.yml' - - '.github/ISSUE_TEMPLATE/*' - - '.github/workflows/codeql.yml' - - '.github/workflows/pull-request.yml' - - '.github/workflows/release-drafter.yml' + - '**.yml' + - '**.yaml' - 'examples/*' + - '!.github/workflows/test.yml' pull_request: branches: - master - dev paths-ignore: - '**.md' - - '.github/FUNDING.yml' - - '.github/release-drafter.yml' - - '.github/ISSUE_TEMPLATE/*' - - '.github/workflows/codeql.yml' - - '.github/workflows/pull-request.yml' - - '.github/workflows/release-drafter.yml' + - '**.yml' + - '**.yaml' - 'examples/*' + - '!.github/workflows/test.yml' env: GO111MODULE: on