Skip to content

Commit 7ddda65

Browse files
authored
Gate Dependabot repair workflows to Dependabot-authored PRs (#6)
1 parent 36c4fa9 commit 7ddda65

4 files changed

Lines changed: 38 additions & 38 deletions

File tree

.github/workflows/dependabot-repair-reusable.lock.yml

Lines changed: 16 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/dependabot-repair-reusable.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ on:
2727
inlined-imports: true
2828

2929
permissions: read-all
30+
if: github.event.pull_request.user.login == 'dependabot[bot]'
3031

3132
tools:
3233
github:
@@ -55,9 +56,7 @@ safe-outputs:
5556

5657
## Scope
5758

58-
Only act on PRs authored by `dependabot[bot]`.
59-
60-
If not, use `noop`.
59+
This workflow runs only for PRs authored by `dependabot[bot]`.
6160

6261
## Mission
6362

.github/workflows/dependabot-repair.lock.yml

Lines changed: 18 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/dependabot-repair.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
types: [opened, synchronize, reopened]
66

77
permissions: read-all
8+
if: github.event.pull_request.user.login == 'dependabot[bot]'
89

910
tools:
1011
github:
@@ -33,9 +34,7 @@ safe-outputs:
3334

3435
## Scope
3536

36-
Only act on PRs authored by `dependabot[bot]`.
37-
38-
If not, use `noop`.
37+
This workflow runs only for PRs authored by `dependabot[bot]`.
3938

4039
## Mission
4140

0 commit comments

Comments
 (0)