diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9e687f8b..f72a61f0a 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 000000000..e1bd2c38d --- /dev/null +++ b/CHANGES/700.misc.rst @@ -0,0 +1 @@ +Updated the GitHub workflow to avoid running unnecessary extra jobs.