From 946c7a2b8b51b84149c309cb990bbcf59e819ae8 Mon Sep 17 00:00:00 2001 From: Mikkel Ricky Date: Wed, 1 Mar 2023 20:09:39 +0100 Subject: [PATCH] Release 1.1.0 --- .github/workflows/pr.yaml | 17 +++++++++++++++++ CHANGELOG.md | 24 ++++++++++++++++++++++++ composer.json | 2 +- 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 4ec48a1..2f3a5fa 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -1,6 +1,23 @@ on: pull_request name: PR Review jobs: + changelog: + runs-on: ubuntu-latest + name: Changelog should be updated + strategy: + fail-fast: false + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 2 + + - name: Git fetch + run: git fetch + + - name: Check that changelog has been updated. + run: git diff --exit-code origin/${{ github.base_ref }} -- CHANGELOG.md && exit 1 || exit 0 + test-composer-files: name: Validate composer runs-on: ubuntu-latest diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..9afe872 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,24 @@ + +# Changelog + +All notable changes to this project will be documented in this file. + +See [keep a changelog](https://keepachangelog.com/en/1.0.0/) for information +about writing changes to this log. + +## [Unreleased] + +## [1.1.0] + +### Added + +- Added attachments data +- Added linked data + +## [1.0.0] + +- Release 1.0.0 + +[Unreleased]: https://github.com/OS2Forms/os2forms_rest_api/compare/1.1.0...HEAD +[1.1.0]: https://github.com/OS2Forms/os2forms_rest_api/compare/1.0.0...1.1.0 +[1.0.0]: https://github.com/OS2Forms/os2forms_rest_api//releases/tag/1.0.0 diff --git a/composer.json b/composer.json index da1e527..c101d69 100644 --- a/composer.json +++ b/composer.json @@ -58,7 +58,7 @@ "enable-patching": true, "patches": { "drupal/webform_rest": { - "Added ability to modify response data sent from Webform Submission endpoint": "https://raw.githubusercontent.com/itk-dev/os2forms_rest_api/feature/linked-data/patches/webform_rest_submission.patch" + "Added ability to modify response data sent from Webform Submission endpoint": "https://raw.githubusercontent.com/OS2Forms/os2forms_rest_api/1.1.0/patches/webform_rest_submission.patch" } } }