Skip to content

ci: testing Git stages with actions #5

ci: testing Git stages with actions

ci: testing Git stages with actions #5

Workflow file for this run

name: Main
on:
pull_request:
types:
- closed
- opened
branches: ["main"]
permissions:
contents: write
jobs:
release:
# if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.merge_commit_sha }}
fetch-depth: '0'
- name: Bump version and push tag
id: tag_version
uses: anothrNick/github-tag-action@v1
env:
WITH_V: true
- name: Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.tag_version.outputs.new_tag }}