Skip to content

Commit 19cc6e9

Browse files
Merge pull request #421 from nmarklund10/nmarklund10/issue-387/automate-dependabot
Automate dependabot merges
2 parents 245046b + dd85529 commit 19cc6e9

File tree

9 files changed

+2753
-2215
lines changed

9 files changed

+2753
-2215
lines changed

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ docs/
129129
.all-contributorsrc
130130
.eslintrc.yml
131131
.pre-commit-config.yaml
132-
.travis.yml
133132
civic.json
134133
codecov.yml
135134
publiccode.yml

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "npm" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "daily"

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: Bmore-Responsive
22

33
on:
4-
- push
5-
- pull_request
4+
push:
5+
pull_request:
6+
types: [opened, reopened]
7+
68
env:
79
NODE_ENV: development
810
DATABASE_PASSWORD: password
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Dependabot auto-merge
2+
on: pull_request
3+
4+
permissions:
5+
pull-requests: write
6+
contents: write
7+
8+
jobs:
9+
dependabot:
10+
runs-on: ubuntu-latest
11+
if: ${{ github.actor == 'dependabot[bot]' }}
12+
steps:
13+
- name: Dependabot metadata
14+
id: metadata
15+
uses: dependabot/[email protected]
16+
with:
17+
github-token: "${{ secrets.GITHUB_TOKEN }}"
18+
- name: Enable auto-merge for Dependabot PRs
19+
if: ${{ steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch' }}
20+
run: gh pr merge --auto --merge "$PR_URL"
21+
env:
22+
PR_URL: ${{github.event.pull_request.html_url}}
23+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

.travis.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://github.com/CodeForBaltimore/Bmore-Responsive/actions/workflows/ci.yml/badge.svg)](https://github.com/CodeForBaltimore/Bmore-Responsive/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/CodeForBaltimore/Bmore-Responsive/branch/master/graph/badge.svg)](https://codecov.io/gh/CodeForBaltimore/Bmore-Responsive) [![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/CodeForBaltimore/Bmore-Responsive.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/CodeForBaltimore/Bmore-Responsive/context:javascript) [![Known Vulnerabilities](https://snyk.io/test/github/CodeForBaltimore/Bmore-Responsive/badge.svg)](https://snyk.io/test/github/CodeForBaltimore/Bmore-Responsive)
1+
[![Build Status](https://github.com/CodeForBaltimore/Bmore-Responsive/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/CodeForBaltimore/Bmore-Responsive/actions/workflows/ci.yml?query=branch%3Amaster) [![codecov](https://codecov.io/gh/CodeForBaltimore/Bmore-Responsive/branch/master/graph/badge.svg)](https://codecov.io/gh/CodeForBaltimore/Bmore-Responsive) [![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/CodeForBaltimore/Bmore-Responsive.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/CodeForBaltimore/Bmore-Responsive/context:javascript) [![Known Vulnerabilities](https://snyk.io/test/github/CodeForBaltimore/Bmore-Responsive/badge.svg)](https://snyk.io/test/github/CodeForBaltimore/Bmore-Responsive)
22

33
# Bmore Responsive
44

docs/DevIntro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The API is the application for all intents and purposes. Use of the API and poss
1616

1717
### CI/CD
1818

19-
We will use TravisCI, Docker, Netlify, and AWS to provide constant code deployments and test coverage.
19+
We will use Github Actions, Docker, Netlify, and AWS to provide constant code deployments and test coverage.
2020
![CI/CD Pipeline](img/cicd-pipeline.png)
2121

2222
### Data

0 commit comments

Comments
 (0)