From a933d8f4d523c90efb7f076bdb2383f8ee1e4936 Mon Sep 17 00:00:00 2001 From: skyjebus Date: Fri, 10 Nov 2023 15:08:49 -0500 Subject: [PATCH] Updated the GitHub Actions workflow to trigger on both push and pull_request events, specifically when a pull request is opened, on the main branch. This change was made to ensure that Dependabot automatically merges pull requests when they are opened on the main branch. --- .github/workflows/dependabot-auto-pr.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dependabot-auto-pr.yml b/.github/workflows/dependabot-auto-pr.yml index cdcfc23..ca02cc5 100644 --- a/.github/workflows/dependabot-auto-pr.yml +++ b/.github/workflows/dependabot-auto-pr.yml @@ -1,6 +1,11 @@ name: Dependabot auto pr merge -on: pull_request +on: + push: + pull_request: + types: [ opened ] + branches: + - main jobs: dependabot: