From 098cc4ff93b30f2fc2c5f706fdd9ced2aa1f35ca Mon Sep 17 00:00:00 2001 From: Akihiro Nitta Date: Sun, 5 Jan 2025 03:52:24 +0000 Subject: [PATCH 1/5] add dependabot --- .github/dependabot.yml | 17 +++++++++++++++++ .github/workflows/dependabot-auto-merge.yml | 21 +++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/dependabot-auto-merge.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..9a3843d9 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,17 @@ +# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + time: "00:00" + labels: + - "ci" + pull-request-branch-name: + separator: "-" + open-pull-requests-limit: 10 + reviewers: + - "akihironitta" + assignees: + - "akihironitta" diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml new file mode 100644 index 00000000..a1cff8c1 --- /dev/null +++ b/.github/workflows/dependabot-auto-merge.yml @@ -0,0 +1,21 @@ +name: "Dependabot auto-merge" + +on: # yamllint disable-line rule:truthy + pull_request: + branches: + - master + +permissions: + contents: write + pull-requests: write + +jobs: + dependabot: + runs-on: ubuntu-latest + if: ${{ github.actor == 'dependabot[bot]' }} + steps: + - name: Enable auto-merge for Dependabot PRs + run: gh pr merge --auto --merge "$PR_URL" + env: + PR_URL: ${{github.event.pull_request.html_url}} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} From d3efe810c54b46d472ab89eafcfb1275a01da73d Mon Sep 17 00:00:00 2001 From: Akihiro Nitta Date: Sun, 5 Jan 2025 03:53:39 +0000 Subject: [PATCH 2/5] add dependabot --- .github/workflows/dependabot-auto-merge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index a1cff8c1..51bf9bd3 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -1,4 +1,4 @@ -name: "Dependabot auto-merge" +name: Dependabot auto-merge on: # yamllint disable-line rule:truthy pull_request: From 28832a9762a7eefe5709b1b1c6a88e2e57145fa6 Mon Sep 17 00:00:00 2001 From: Akihiro Nitta Date: Sun, 5 Jan 2025 03:59:06 +0000 Subject: [PATCH 3/5] add dependabot --- .github/dependabot.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9a3843d9..52c1ab6e 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,6 +8,7 @@ updates: time: "00:00" labels: - "ci" + - "skip-changelog" pull-request-branch-name: separator: "-" open-pull-requests-limit: 10 From ba43f903183836247e2556c1ef55d6d181d5747f Mon Sep 17 00:00:00 2001 From: Akihiro Nitta Date: Sun, 5 Jan 2025 04:00:38 +0000 Subject: [PATCH 4/5] add dependabot --- .github/workflows/dependabot-auto-merge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index 51bf9bd3..b78881ab 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -1,6 +1,6 @@ name: Dependabot auto-merge -on: # yamllint disable-line rule:truthy +"on": pull_request: branches: - master From d69f545cb0e1df8050604cb7d0d57b3ed195c514 Mon Sep 17 00:00:00 2001 From: Akihiro Nitta Date: Sun, 5 Jan 2025 04:00:49 +0000 Subject: [PATCH 5/5] Revert "add dependabot" This reverts commit ba43f903183836247e2556c1ef55d6d181d5747f. --- .github/workflows/dependabot-auto-merge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index b78881ab..51bf9bd3 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -1,6 +1,6 @@ name: Dependabot auto-merge -"on": +on: # yamllint disable-line rule:truthy pull_request: branches: - master