Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Add concurrency settings for workflow (#770)
Alireza Ziaee8ee7fb72fbd6
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.ymlindex 7cba455c9..064e9e13f 100644--- a/.github/workflows/ci_cd.yml+++ b/.github/workflows/ci_cd.yml@@ -11,6 +11,13 @@ on:- publishedworkflow_dispatch:+concurrency:+ group: ${{ github.workflow }}-${{ github.event_name == 'release' && 'release' || github.ref }}+ # Don't continue building images for a PR if the PR is updated quickly+ # For other workflows, allow them to complete and just block on them. This+ # ensures deployments in particular to happen in series rather than parallel.+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}+jobs:lint:name: Lint