Skip to content

Commit

Permalink
auto merge via automation label
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddio0141 committed Sep 5, 2024
1 parent 2061922 commit 8d48740
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
version: 2

registries:
api-nuget-org:
type: nuget-feed
url: https://api.nuget.org/v3/index.json
nuget-bepinex-dev:
type: nuget-feed
url: https://nuget.bepinex.dev/v3/index.json

updates:
- package-ecosystem: "nuget"
directories:
Expand All @@ -17,3 +19,6 @@ updates:
ignore:
- dependency-name: "StructureMap"
- dependency-name: "UnityEngine.Modules"
labels:
- "dependencies"
- "automation"
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:
jobs:
automated:
runs-on: ubuntu-latest
if: (github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'github-actions[bot]') && github.repository == 'Eddio0141/UniTASTestClients'
if: contains(github.event.pull_request.labels, 'automation') && github.repository == 'Eddio0141/UniTASTestClients'
steps:
- name: Auto-merge for PRs
run: gh pr merge --auto --merge "$PR_URL"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-flake-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ jobs:
pr-title: "Update flake.lock"
pr-labels: |
dependencies
automation
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}

0 comments on commit 8d48740

Please sign in to comment.