👷 Adds Rudimentary Continuous Update Process

This commit is contained in:
Bruce Markham
2020-03-15 20:45:05 -04:00
parent e4c4553f8a
commit f2871069bc
2 changed files with 44 additions and 0 deletions

14
.dependabot/config.yml Normal file
View File

@@ -0,0 +1,14 @@
version: 1
update_configs:
- package_manager: "javascript"
directory: "/"
update_schedule: "live"
version_requirement_updates: "increase_versions_if_necessary"
commit_message:
prefix: "⬆"
- package_manager: "submodules"
directory: "/"
update_schedule: "daily"
commit_message:
prefix: "⬆"

View File

@@ -0,0 +1,30 @@
name: Automerge Dependabot Updates
on:
check_suite:
types:
- completed
jobs:
auto_merge:
runs-on: ubuntu-latest
needs:
- build_and_test
steps:
- name: auto-merge
uses: ridedott/merge-me-action@v1.1.34
with:
# Depending on branch protection rules, a manually populated
# `GITHUB_TOKEN_WORKAROUND` environment variable with permissions to
# push to a protected branch must be used. This variable can have an
# arbitrary name, as an example, this repository uses
# `GITHUB_TOKEN_DOTTBOTT`.
#
# When using a custom token, it is recommended to leave the following
# comment for other developers to be aware of the reasoning behind it:
#
# This must be used as GitHub Actions token does not support
# pushing to protected branches.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN_DOTTBOTT }}