Skip to content

Commit

Permalink
add some more github actions (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
DomAmato committed Jul 11, 2020
1 parent 12f485e commit 82affa9
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 2 deletions.
16 changes: 15 additions & 1 deletion .github/changelog-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name-template: 'v$RESOLVED_VERSION 🌈'

tag-template: 'v$RESOLVED_VERSION'

categories:
- title: '🚀 Features'
labels:
Expand All @@ -11,19 +13,31 @@ categories:
- 'bugfix'
- 'bug'
- title: '🧰 Maintenance'
label: 'chore'
labels:
- 'chore'
- 'debt'

change-template: '- $TITLE @$AUTHOR (#$NUMBER)'

version-resolver:
major:
labels:
- 'major'
- 'breaking'
minor:
labels:
- 'minor'
- 'feature'
patch:
labels:
- 'patch'
- 'bugfix'
- 'debt'
default: patch

exclude-labels:
- 'skip-changelog'

template: |
## Changes
Expand Down
19 changes: 19 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Basic dependabot.yml file with
# minimum configuration for two package managers
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:

# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"


# Enable version updates for python pip
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
19 changes: 19 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Changelog Drafter

on:
push:
# develop is our tracking branch
branches:
- develop

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
with:
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
config-name: changelog-drafter.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/testlint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Python package
name: Python Test and Lint

on: [push]

Expand Down

0 comments on commit 82affa9

Please sign in to comment.