migrate to new azure release workflow (#95)

* migrate to new azure release workflow

* format
This commit is contained in:
David Gamero 2024-01-30 15:46:08 -05:00 committed by GitHub
parent bc474d7b1f
commit 340b2c4cf2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 18 deletions

View file

@ -1,14 +1,18 @@
name: Create release PR name: Release Project
on: on:
push:
branches:
- main
paths:
- CHANGELOG.md
workflow_dispatch: workflow_dispatch:
inputs:
release:
description: 'Define release version (ex: v1, v2, v3)'
required: true
jobs: jobs:
release-pr: release:
uses: OliverMKing/javascript-release-workflow/.github/workflows/release-pr.yml@main permissions:
actions: read
contents: write
uses: Azure/action-release-workflows/.github/workflows/release_js_project.yaml@e4a1a0385530d6861c9a9b7262058ad33b10c769
with: with:
release: ${{ github.event.inputs.release }} changelogPath: ./CHANGELOG.md

View file

@ -1,10 +0,0 @@
name: Tag and create release draft
on:
push:
branches:
- releases/*
jobs:
tag-and-release:
uses: OliverMKing/javascript-release-workflow/.github/workflows/tag-and-release.yml@main