Skip to content

Commit

Permalink
Merge pull request #685 from DTS-STN/sch-changelog
Browse files Browse the repository at this point in the history
added release drafter and changelog
  • Loading branch information
shewood authored Jun 14, 2024
2 parents aa790c1 + c3d1ddb commit f70b35b
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@


template: |
<!-- Optional: add a release summary here -->
$CHANGES
24 changes: 24 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release Drafter

on:
push:
branches:
- dev
workflow_dispatch:

jobs:
update_release_draft:
runs-on: ubuntu-latest
permissions:
# Write permission is required to create a github release
contents: write
# Write permission is required for autolabeler
pull-requests: write
steps:
- uses: release-drafter/release-drafter@v6
with:
name: next
tag: next
version: next
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12 changes: 9 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
on:
push:
branches:
- main
- dev


permissions:
contents: write
pull-requests: write

name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3.1.2
- uses: googleapis/release-please-action@v4
with:
release-type: node
package-name: release-please-action
package-name: release-please-action
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added

0 comments on commit f70b35b

Please sign in to comment.