-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Ignore updating patch versions to focus on major and minor updates. - Limit number of PRs opened. - Add dependabot labeler workflow to add required labels to automatically add PRs to merge queues. - Add merge_group condition on test workflows to be ran on merge queues.
- Loading branch information
1 parent
2e28f8a
commit 8e76188
Showing
5 changed files
with
39 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# This workflow file adds the 'lgtm' and 'approved' labels to Dependabot PRs | ||
# This is done to ensure that the PRs that pass e2e are automatically merged/added to merge-queues by the CodeFlare bot | ||
name: Dependabot Labeler | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
add-approve-lgtm-label: | ||
if: github.actor == 'dependabot[bot]' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Add approve and lgtm labels to Dependabot PR | ||
run: | | ||
gh pr edit ${{ github.event.pull_request.number }} --add-label "lgtm" --add-label "approved" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.CODEFLARE_MACHINE_ACCOUNT_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ on: | |
- 'v*' | ||
pull_request: | ||
workflow_dispatch: | ||
merge_group: | ||
|
||
jobs: | ||
precommit: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ on: | |
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
merge_group: | ||
|
||
jobs: | ||
unit-tests: | ||
|