Skip to content

Update dependency eslint-config-next to v14.1.0 #36

Update dependency eslint-config-next to v14.1.0

Update dependency eslint-config-next to v14.1.0 #36

name: Push a new tag when PR with specified labels was merged
on:
pull_request:
types: [closed]
jobs:
tagged:
runs-on: ubuntu-latest
steps:
- uses: actions-ecosystem/action-release-label@v1
id: release-label
if: ${{ github.event.pull_request.merged == true }}
- uses: actions/checkout@v4
if: ${{ steps.release-label.outputs.level != null }}
with:
# to trigger release.yml Action
token: ${{ secrets.TOKEN }}
- uses: actions-ecosystem/action-get-latest-tag@v1
id: get-latest-tag
if: ${{ steps.release-label.outputs.level != null }}
- uses: actions-ecosystem/action-bump-semver@v1
id: bump-semver
if: ${{ steps.release-label.outputs.level != null }}
with:
current_version: ${{ steps.get-latest-tag.outputs.tag }}
level: ${{ steps.release-label.outputs.level }}
- uses: actions-ecosystem/action-push-tag@v1
if: ${{ steps.release-label.outputs.level != null }}
with:
tag: ${{ steps.bump-semver.outputs.new_version }}
message: '${{ steps.bump-semver.outputs.new_version }}: PR #${{ github.event.pull_request.number }} ${{ github.event.pull_request.title }}'