From 87dce6c97802d6716b88d130fc0228377383c37b Mon Sep 17 00:00:00 2001 From: Vincent Chalamon <407859+vincentchalamon@users.noreply.github.com> Date: Wed, 29 Mar 2023 12:00:07 +0200 Subject: [PATCH] chore: configure dependabot + GitHub Actions concurrency --- .github/dependabot.yml | 8 ++++++++ .github/workflows/ci.yml | 15 +++++++++++---- 2 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..1491781 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +version: 2 + +updates: + # Maintain dependencies for GitHub Actions + - package-ecosystem: github-actions + directory: / + schedule: + interval: monthly diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d38e707..14ab2d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,14 +1,21 @@ name: CI on: - schedule: - # Every sunday at 02:00 - - cron: 0 2 * * 0 - pull_request: push: branches: - main - '[0-9].[0-9]' + tags: + - '*' + pull_request: ~ + schedule: + # Every Sunday at 02:00 + - cron: 0 2 * * 0 + workflow_dispatch: ~ + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true jobs: tests: