Skip to content

Commit

Permalink
copy workflows from linodego
Browse files Browse the repository at this point in the history
  • Loading branch information
phillc committed Mar 9, 2020
1 parent 9c54ad0 commit 2d6a836
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
- name: added-feature
description: for new features in the changelog.
color: a2eeef
- name: changed
description: for changes in existing functionality in the changelog.
color: a2eeef
- name: deprecated
description: for soon-to-be removed features in the changelog.
color: e4e669
- name: removed
description: for now removed features in the changelog.
color: e4e669
- name: bugfix
description: for any bug fixes in the changelog.
color: d73a4a
- name: security
description: for vulnerabilities in the changelog.
color: dd4739
- name: bug
description: Something isn't working in this issue.
color: d73a4a
- name: enhancement
description: New feature request in this issue.
color: a2eeef
21 changes: 21 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name-template: 'v$NEXT_PATCH_VERSION'
tag-template: 'v$NEXT_PATCH_VERSION'
categories:
- title: '🚀 Added'
label: 'added-feature'
- title: '🧰 Changed'
label: 'changed'
- title: "⚠️ Deprecated"
label: "deprecated"
- title: "⚠️ Removed"
label: "removed"
- title: '🐛 Bug Fixes'
label: 'bugfix'
- title: "⚠️ Security"
label: "security"
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
no-changes-template: "- No changes"
template: |
## Changes
$CHANGES
17 changes: 17 additions & 0 deletions .github/workflows/label-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Sync labels
on:
push:
branches:
- master
paths:
- .github/labels.yml
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: micnncim/action-label-syncer@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
manifest: .github/labels.yml
17 changes: 17 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Release Drafter

on:
push:
branches:
- master

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
with:
config-name: release-drafter.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2d6a836

Please sign in to comment.