Skip to content

Commit

Permalink
Merge pull request #1 from jamacku/main
Browse files Browse the repository at this point in the history
Initial implementation
  • Loading branch information
phracek authored Jul 18, 2024
2 parents b963d7f + 855c7cf commit c57409f
Show file tree
Hide file tree
Showing 7 changed files with 1,008 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
labels:
- 'type: dependencies'
60 changes: 60 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name-template: 'Release v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'

template: |
# What's Changed
$CHANGES
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
categories:
- title: 'Breaking'
label: 'type: breaking'

- title: 'New'
label: 'type: feature'

- title: 'Bug Fixes'
label: 'type: bugfix'

- title: 'Maintenance'
labels:
- 'type: maintenance'
- 'type: performance'

- title: 'Documentation'
label: 'type: documentation'

- title: 'Other changes'

- title: 'Automation and CI changes'
label: 'type: ci'

- title: 'Dependency Updates'
label: 'type: dependencies'
collapse-after: 5

version-resolver:
major:
labels:
- 'type: breaking'

minor:
labels:
- 'type: feature'

patch:
labels:
- 'type: bug'
- 'type: maintenance'
- 'type: performance'
- 'type: documentation'
- 'type: ci'
- 'type: dependencies'
- 'type: security'

default: patch

exclude-labels:
- 'skip-changelog'
25 changes: 25 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: GitHub Tag Update

on:
release:
types: [ published, edited ]

permissions:
contents: read

jobs:
actions-tagger:
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- name: Repository checkout
uses: actions/checkout@v4

- name: Update tag
uses: Actions-R-Us/actions-tagger@v2
with:
publish_latest_tag: false
token: ${{ secrets.GITHUB_TOKEN }}
22 changes: 22 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release Drafter

on:
push:
branches: [ main ]

permissions:
contents: read

jobs:
update_release_draft:
name: Update release Draft
runs-on: ubuntu-latest

permissions:
contents: write
pull-requests: write

steps:
- uses: release-drafter/release-drafter@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit c57409f

Please sign in to comment.