diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fb8f261..715d3f1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -77,6 +77,7 @@ jobs: run: | VERSION="${{ github.event.release.tag_name }}" BRANCH="changelog-update-$VERSION" + LABEL="release changelog" git config user.email "action@github.com" git config user.name "GitHub Action" @@ -84,9 +85,13 @@ jobs: git checkout -b $BRANCH git commit -am "Changelog update - $VERSION" git push --set-upstream origin $BRANCH + + gh label create "$LABEL" \ + --description "Pull requests with release changelog update" \ + || true gh pr create \ --title "Changelog update - \`$VERSION\`" \ --body "Current pull request contains patched \`CHANGELOG.md\` file for the \`$VERSION\` version." \ - --base main \ + --label "$LABEL" \ --head $BRANCH diff --git a/CHANGELOG.md b/CHANGELOG.md index b87ea6d..3819c43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,24 @@ ### Fixed - Update broken link in `gradle.properties` +## [1.2.0] +### Added +- GitHub Actions - mark the pull request created with _Publish Plugin_ workflow with `release changelog` label + +### Changed +- Dependencies - upgrade `org.jetbrains.intellij` to `1.8.1` + +### Fixed +- Update broken link in `gradle.properties` +- GitHub Actions - use `$BRANCH` for creating changelog pull request + +## [1.2.0] +### Added +- GitHub Actions - mark the pull request created with _Publish Plugin_ workflow with `release changelog` label + +### Fixed +- GitHub Actions - use `$BRANCH` for creating changelog pull request + ## [1.2.0] ### Added - Use JVM toolchain for configuring source/target compilation compatibility