Unverified Commit 36ede459 authored by Harry Mellor's avatar Harry Mellor Committed by GitHub
Browse files

Reduce time wasted in GitHub Actions using `concurrency` (#21919)


Signed-off-by: default avatarHarry Mellor <19981378+hmellor@users.noreply.github.com>
parent 0e40b260
...@@ -2,6 +2,10 @@ name: Lint and Deploy Charts ...@@ -2,6 +2,10 @@ name: Lint and Deploy Charts
on: pull_request on: pull_request
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read
......
...@@ -5,6 +5,10 @@ on: ...@@ -5,6 +5,10 @@ on:
push: push:
branches: [main] branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions: permissions:
contents: read contents: read
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment