This is an automated email from the ASF dual-hosted git repository.
xiatian pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/eventmesh-dashboard.git
The following commit(s) were added to refs/heads/main by this push:
new 8b0e4e5 [ISSUE #144] Auto approve when dependabot's branch is changed
by someone else (#145)
8b0e4e5 is described below
commit 8b0e4e52a2b15885fbfdb5348aeea579eff2ab66
Author: Pil0tXia <[email protected]>
AuthorDate: Mon May 27 13:25:41 2024 +0800
[ISSUE #144] Auto approve when dependabot's branch is changed by someone
else (#145)
* a more standard way to prevent creating dependabot PRs
* approve if the PR author is dependabot
* approve if the PR branch belongs to dependabot
* Revert "approve if the PR branch belongs to dependabot"
This reverts commit aabcdc474fc09cc0e0a3e1f893f51a0677da2cb5.
---
.github/dependabot.yml | 5 +++--
.github/workflows/auto-dependabot.yml | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 5fe85e6..a6fcca8 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -27,12 +27,13 @@ updates:
update-types: [ "version-update:semver-major" ]
- package-ecosystem: "npm"
directory: "./eventmesh-dashboard-view"
+ # Disable front-end PRs temporarily since 'npm run build' fails
+ open-pull-requests-limit: 0
schedule:
interval: "monthly"
ignore:
- dependency-name: "*"
- # Disable front-end PRs temporarily since 'npm run build' fails
- update-types: [ "version-update:semver-major",
"version-update:semver-minor", "version-update:semver-patch" ]
+ update-types: [ "version-update:semver-major",
"version-update:semver-patch" ]
- package-ecosystem: "github-actions"
directory: "/"
schedule:
diff --git a/.github/workflows/auto-dependabot.yml
b/.github/workflows/auto-dependabot.yml
index 0d43a05..512a43f 100644
--- a/.github/workflows/auto-dependabot.yml
+++ b/.github/workflows/auto-dependabot.yml
@@ -27,7 +27,7 @@ jobs:
# Pull request Auto merge is not enabled for this repository
dependabot:
runs-on: ubuntu-latest
- if: github.actor == 'dependabot[bot]'
+ if: github.event.pull_request.user.login == 'dependabot[bot]'
steps:
- name: Dependabot metadata
id: metadata
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]