Skip to content

Commit

Permalink
Update README and add workflow to automagically update the CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
RVxLab authored May 28, 2022
1 parent 3f25de8 commit bae3b25
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/update-changelog.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Update Changelog"

on:
release:
types: [released]

jobs:
update:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: main

- name: Update Changelog
uses: stefanzweifel/changelog-updater-action@v1
with:
latest-version: ${{ github.event.release.name }}
release-notes: ${{ github.event.release.body }}

- name: Commit updated CHANGELOG
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: main
commit_message: Update CHANGELOG
file_pattern: CHANGELOG.md
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

All notable changes to `nova-belongs-to-dependency` will be documented in this file
All notable changes to `nova-belongs-to-dependency` will be documented in this file.

## 1.1.0 - 2019-01-19

Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ This package is an extension of Laravel Nova's existing BelongsTo field and Vue

Originally created by manmohanjit, the original package was abandoned.

## Requirements

- PHP 7.3+
- Nova 4

Use the 1.x versions if you need support for Nova 3

## Installation

You can install this package on a Laravel app that uses [Nova](https://nova.laravel.com) via composer:
Expand Down

0 comments on commit bae3b25

Please sign in to comment.