We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b92170 commit a87eca4Copy full SHA for a87eca4
.github/workflows/buildAndPublish.yml
@@ -6,9 +6,15 @@ on:
6
workflows: ["Run static code validation"]
7
types:
8
- completed
9
+concurrency:
10
+ group: ${{ github.workflow }}-${{ github.ref }}
11
+ cancel-in-progress: true
12
jobs:
13
buildAndPublish:
14
name: Build and Publish
15
+ # Always run on workflow call and workflow dispatch
16
+ # Only run on workflow_run if there has been a change in the src folder,
17
+ # excluding markdown files
18
if: ${{
19
github.event_name == 'workflow_call' ||
20
github.event_name == 'workflow_dispatch' ||
0 commit comments