Skip to content

Commit fd483a2

Browse files
authored
Release Drafter Workflow: Cancel in progress; Dependabot Auto-merge Workflow: Only run on main PRs (#10)
1 parent c7cd1ce commit fd483a2

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/dependabot-auto-merge.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Dependabot Auto-merge
22

3-
on: pull_request
3+
on:
4+
pull_request:
5+
branches:
6+
- main
47

58
concurrency:
69
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}

.github/workflows/release-drafter.yml

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
branches:
77
- main
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref_name }}
11+
cancel-in-progress: true
12+
913
permissions: {}
1014

1115
jobs:

0 commit comments

Comments
 (0)