Skip to content

💬 - Files Synced | Runner ID : 27 | ⚡ Triggered By fuelviews/github-w… #2

💬 - Files Synced | Runner ID : 27 | ⚡ Triggered By fuelviews/github-w…

💬 - Files Synced | Runner ID : 27 | ⚡ Triggered By fuelviews/github-w… #2

Workflow file for this run

name: Auto Tag and Release
on:
push:
pull_request:
types: [closed]
branches:
- main
jobs:
release:
if: github.event.pull_request.merged == true
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: 'main'
fetch-depth: '0'
- name: Bump version and push tag
id: bump_version
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BUMP: patch
WITH_V: true
RELEASE_BRANCHES: main
- name: Create GitHub Release
if: steps.bump_version.outputs.new_tag
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.bump_version.outputs.new_tag }}
release_name: ${{ steps.bump_version.outputs.new_tag }}
draft: true
prerelease: false