Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

🔄 Synced file(s) with WordPress/openverse (#972)

Openverse (Bot)429fd45916c9
diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml
index 9bb0d9c9c..5ae36d07f 100644
--- a/.github/workflows/actionlint.yml
+++ b/.github/workflows/actionlint.yml
@@ -6,6 +6,13 @@ on:
branches:
- main
+# Cancels all previous workflow runs for pull requests that have not completed.
+concurrency:
+ # The concurrency group contains the workflow name and the branch name for pull requests
+ # or the commit hash for any other events.
+ group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
+ cancel-in-progress: true
+
jobs:
actionlint:
runs-on: ubuntu-latest