mirror of
https://github.com/captn3m0/cosmere-books.git
synced 2024-09-19 12:56:59 +00:00
auto-dep update
This commit is contained in:
parent
a94d7a62a6
commit
dd39b9037a
27
.github/dependabot.yml
vendored
27
.github/dependabot.yml
vendored
@ -1,8 +1,23 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: bundler
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: daily
|
||||
time: "23:30"
|
||||
open-pull-requests-limit: 99
|
||||
- package-ecosystem: pip
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: weekly
|
||||
time: "04:00"
|
||||
timezone: Asia/Calcutta
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
time: "04:00"
|
||||
interval: weekly
|
||||
timezone: Asia/Calcutta
|
||||
- package-ecosystem: "bundler"
|
||||
vendor: true
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
- package-ecosystem: "gitsubmodule"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
29
.github/workflows/deps.yml
vendored
Normal file
29
.github/workflows/deps.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
# Note that this is a low security repo
|
||||
# since the builds only impact the website
|
||||
# and we do not have any releases
|
||||
name: Auto Merge Dependency Updates
|
||||
on: pull_request
|
||||
permissions:
|
||||
pull-requests: write
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
dependabot:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.actor == 'dependabot[bot]' }}
|
||||
steps:
|
||||
- name: Dependabot metadata
|
||||
id: metadata
|
||||
uses: dependabot/fetch-metadata@v2.2.0
|
||||
with:
|
||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
- uses: actions/checkout@v4
|
||||
name: Clone self repository
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
submodules: true
|
||||
- name: Enable auto-merge for Dependabot PRs for release data
|
||||
run: gh pr merge --auto --rebase "$PR_URL"
|
||||
env:
|
||||
PR_URL: ${{github.event.pull_request.html_url}}
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
Loading…
Reference in New Issue
Block a user