diff --git a/.github/workflows/pull-request.closed.yml b/.github/workflows/pull-request.closed.yml index e10e416..d904e05 100644 --- a/.github/workflows/pull-request.closed.yml +++ b/.github/workflows/pull-request.closed.yml @@ -62,3 +62,14 @@ jobs: with: run: mvn clean install -Dmaven.repo.local=./.m2 -Declipse.p2.mirrors=false + - name: Create tag + uses: actions/github-script@v5 + with: + script: | + github.rest.git.createRef({ + owner: context.repo.owner, + repo: context.repo.repo, + ref: 'refs/tags/${{ steps.semver.outputs.patch }}', + sha: context.sha + }) +