diff --git a/.github/workflows/changelog-draft.yml b/.github/workflows/changelog-draft.yml new file mode 100644 index 000000000..4b321b6fa --- /dev/null +++ b/.github/workflows/changelog-draft.yml @@ -0,0 +1,33 @@ +name: Changelog Draft + +on: + workflow_dispatch: + inputs: + release: + description: Github release marker, i.e. 4.20.1.RELEASE + required: true + type: string + +jobs: + changelog: + runs-on: ubuntu-latest + steps: + - name: Checkout wiki code + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 + with: + repository: ${{github.repository}}.wiki + - name: Set up JDK 17 + uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 + with: + java-version: '17' + distribution: 'temurin' + - name: Download Changelog Generator + run: | + wget https://github.com/spring-io/github-changelog-generator/releases/download/v0.0.8/github-changelog-generator.jar + - name: Push to wiki + run: | + changelog_filename=generated-changelog.md + java -jar github-changelog-generator.jar ${{ inputs.release }} --changelog.repository=spring-projects/sts4 ./${changelog_filename} + cat Changelog.md + cat $changelog_filename | cat - Changelog.md > new_Changelog.md + cat new_Changelog.md diff --git a/.github/workflows/snapshot-eclipse-ls-extensions-build.yml b/.github/workflows/snapshot-eclipse-ls-extensions-build.yml index d5193c170..f340edd04 100644 --- a/.github/workflows/snapshot-eclipse-ls-extensions-build.yml +++ b/.github/workflows/snapshot-eclipse-ls-extensions-build.yml @@ -6,9 +6,9 @@ concurrency: on: workflow_dispatch: - push: - branches: - - 'main' +# push: +# branches: +# - 'main' jobs: eclipse-ls-extensions: