Skip to content

Commit d85dd72

Browse files
Merge pull request #46 from krajorama/fix-dependabot-reviewer
fix(dependabot-automerge): calling gh label without repository
2 parents 8d8aa0c + 9c87335 commit d85dd72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/dependabot-automerge.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ jobs:
5757
if: ${{ steps.dependabot-metadata.outputs.update-type == 'version-update:semver-minor' && steps.dependabot-metadata.outputs.dependency-type == 'direct:production' && !contains(fromJSON(inputs.packages-minor-autoupdate), steps.dependabot-metadata.outputs.dependency-names) }}
5858
run: |
5959
gh pr comment $PR_URL --body "**Not approving** minor update to a non-allowlisted production dependency"
60-
gh label create requires-manual-approval || true
60+
gh label create "requires-manual-approval" --repo "$GITHUB_REPOSITORY" || true
6161
gh pr edit $PR_URL --add-label "requires-manual-approval"
6262
- name: Comment on major updates of production dependencies
6363
if: ${{ steps.dependabot-metadata.outputs.update-type == 'version-update:semver-major' && steps.dependabot-metadata.outputs.dependency-type == 'direct:production' }}
6464
run: |
6565
gh pr comment $PR_URL --body "**Not approving** major update to a production dependency"
66-
gh label create requires-manual-approval || true
66+
gh label create "requires-manual-approval" --repo "$GITHUB_REPOSITORY" || true
6767
gh pr edit $PR_URL --add-label "requires-manual-approval"

0 commit comments

Comments
 (0)