diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9e687f8..f72a61f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,10 +10,16 @@ on: branches: - master - ?.?* + types: [opened, reopened] schedule: - cron: '0 6 * * *' # Daily 6AM UTC build +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + + jobs: lint: diff --git a/CHANGES/700.misc.rst b/CHANGES/700.misc.rst new file mode 100644 index 00000000..e1bd2c38 --- /dev/null +++ b/CHANGES/700.misc.rst @@ -0,0 +1 @@ +Updated the GitHub workflow to avoid running unnecessary extra jobs.