From bdcd37d15176dbb691c3bae0ca40269726bb7aa7 Mon Sep 17 00:00:00 2001 From: abikouo Date: Thu, 20 Apr 2023 12:17:57 +0200 Subject: [PATCH 1/2] github actions - linters and changelog workflow --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..bed396c38 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: CI +concurrency: + group: ${{ github.head_ref }} + cancel-in-progress: true + +on: + pull_request: + types: + - opened + - reopened + - labeled + - unlabeled + - synchronize + branches: + - main + - stable-* + tags: + - '*' + +jobs: + changelog: + uses: ansible-network/github_actions/.github/workflows/changelog.yml@main + linters: + uses: abikouo/github_actions/.github/workflows/tox-linters.yml@tox_linters \ No newline at end of file From 3259851e65bc118126aa76bc865169ff25e7718d Mon Sep 17 00:00:00 2001 From: abikouo Date: Mon, 6 Nov 2023 07:48:31 +0100 Subject: [PATCH 2/2] minor updates: Remove existing changelog workflow and reference tox-linter from ansible-network/github_actions --- .github/workflows/{ci.yml => linters.yml} | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) rename .github/workflows/{ci.yml => linters.yml} (60%) diff --git a/.github/workflows/ci.yml b/.github/workflows/linters.yml similarity index 60% rename from .github/workflows/ci.yml rename to .github/workflows/linters.yml index bed396c38..2340ab1c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/linters.yml @@ -1,4 +1,4 @@ -name: CI +name: Linters concurrency: group: ${{ github.head_ref }} cancel-in-progress: true @@ -18,7 +18,5 @@ on: - '*' jobs: - changelog: - uses: ansible-network/github_actions/.github/workflows/changelog.yml@main linters: - uses: abikouo/github_actions/.github/workflows/tox-linters.yml@tox_linters \ No newline at end of file + uses: ansible-network/github_actions/.github/workflows/tox-linters.yml@main