Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2

multi-ecosystem-groups:
infrastructure:
schedule:
interval: "yearly"
commit-message:
prefix: ⬆
assignees:
- "GreatAlexander"

updates:
- package-ecosystem: "github-actions"
directory: "/"
multi-ecosystem-group: "infrastructure"
patterns: ['*']
- package-ecosystem: "docker"
directory: "/"
multi-ecosystem-group: "infrastructure"
patterns: ['*']
20 changes: 0 additions & 20 deletions .github/workflows/reusable-update-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ on:
default: ''
required: false
type: string
secrets:
precommit-pr-token:
description: 'PAT from GreatAlexander for PR auto-approval'
required: true

jobs:
auto_update_and_create_pr:
Expand Down Expand Up @@ -93,19 +89,3 @@ jobs:
delete-branch: true
draft: false
path: ${{ env.path }}

- name: Enable Pull Request Automerge
if: steps.cpr.outputs.pull-request-operation == 'created'
run: |
cd ${{ env.path }}
gh pr merge --squash --auto "${{ steps.cpr.outputs.pull-request-number }}"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Auto approve
if: steps.cpr.outputs.pull-request-operation == 'created'
run: |
cd ${{ env.path }}
gh pr review --approve "${{ steps.cpr.outputs.pull-request-number }}"
env:
GH_TOKEN: ${{ secrets.precommit-pr-token }}
2 changes: 1 addition & 1 deletion .github/workflows/update-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Auto Update pre-commit
on:
workflow_dispatch:
schedule:
- cron: '0 0 2 * *' # Runs at 00:00, on day 2 of the month
- cron: '0 0 2 12 *' # Runs at 00:00, on day 2 of December (yearly)

jobs:
auto_update_and_create_pr:
Expand Down
Loading