Skip to content

Commit 856c160

Browse files
committed
chore: skip actions when PR is authored by dependabot
1 parent 24c7448 commit 856c160

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.github/dependabot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: 2
2+
updates:
3+
# Enable version updates for npm
4+
- package-ecosystem: "npm"
5+
# Look for `package.json` and `lock` files in the `root` directory
6+
directory: "/"
7+
# Check the npm registry for updates every day (weekdays)
8+
schedule:
9+
interval: "weekly"
10+
labels:
11+
- "dependencies"
12+
assignees:
13+
- "linx4200"
14+
reviewers:
15+
- "linx4200"

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77

88
jobs:
99
publish:
10+
if: github.actor != 'dependabot[bot]'
11+
1012
runs-on: ubuntu-latest
1113

1214
steps:

0 commit comments

Comments
 (0)