Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

Update GitHub Actions with Dependabot #212

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
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
13 changes: 13 additions & 0 deletions .dependabot/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,19 @@ update_configs:
default_labels:
- ':recycle: Chore'

- package_manager: github_actions
directory: /
update_schedule: daily
commit_message:
prefix: chore
include_scope: true
automerged_updates:
- match:
dependency_type: all
update_type: 'semver:minor'
default_labels:
- ':recycle: Chore'

- package_manager: javascript
directory: /
update_schedule: daily
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v1.2.0
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will extract these changes.

with:
submodules: true

Expand All @@ -35,13 +35,13 @@ jobs:
gzip docker-image-dev/article-store.tar

- name: Upload prod Docker image
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v1.0.0
with:
name: docker-image-prod
path: docker-image-prod

- name: Upload dev Docker image
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v1.0.0
with:
name: docker-image-dev
path: docker-image-dev
Expand Down Expand Up @@ -70,12 +70,12 @@ jobs:
test: TARGET=prod make api-test

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v1.2.0
with:
submodules: true

- name: Download Docker image artifact
uses: actions/download-artifact@v1
uses: actions/download-artifact@v1.0.0
with:
name: docker-image-${{ matrix.target || 'dev' }}

Expand All @@ -94,12 +94,12 @@ jobs:
if: github.ref == 'refs/heads/master'

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v1.2.0
with:
submodules: true

- name: Download Docker image artifact
uses: actions/download-artifact@v1
uses: actions/download-artifact@v1.0.0
with:
name: docker-image-prod

Expand Down