Skip to content

Commit 17fc011

Browse files
authored
chore: rename label for auto approvals (#18183)
The current label (`pr/auto-approve`) doesn't match the default label that `projen` uses (`auto-approve`). Our repository monitoring mechanisms use `pr/auto-approve` to detect stale PR's, while this is OK for the `jsii` and `aws-cdk` repositories, its not for basically all other repo's, since they are managed by projen. So we need to change the label our monitoring uses to `auto-approve`, this PR is a preparation for that, so we don't loose monitoring of this repo. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 536bdba commit 17fc011

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ updates:
99
schedule:
1010
interval: "weekly"
1111
labels:
12-
- "pr/auto-approve"
12+
- "auto-approve"
1313
open-pull-requests-limit: 5

.github/workflows/pr-labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
pull-requests: write
1414
issues: write
1515
steps:
16-
- run: gh pr edit ${{ github.event.pull_request.number }} --add-label "pr/auto-approve" -R ${{ github.repository }}
16+
- run: gh pr edit ${{ github.event.pull_request.number }} --add-label "auto-approve" -R ${{ github.repository }}
1717
env:
1818
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/yarn-upgrade.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
title: 'chore: npm-check-updates && yarn upgrade'
111111
body: |-
112112
Ran npm-check-updates and yarn upgrade to keep the `yarn.lock` file up-to-date.
113-
labels: contribution/core,dependencies,pr/auto-approve
113+
labels: contribution/core,dependencies,auto-approve
114114
team-reviewers: aws-cdk-team
115115
# Github prevents further Github actions to be run if the default Github token is used.
116116
# Instead use a privileged token here, so further GH actions can be triggered on this PR.

0 commit comments

Comments
 (0)