1
0
mirror of https://github.com/XFox111/PasswordGeneratorExtension.git synced 2026-04-22 08:08:01 +03:00
Files
PasswordGeneratorExtension/.github/workflows/pr_next.yaml
T
2023-11-12 19:58:39 +03:00

32 lines
728 B
YAML

name: PR next workflow
on:
push:
branches: [ main ]
paths:
- 'package.json'
workflow_dispatch:
permissions:
contents: write
jobs:
create-release-draft:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Get version from package.json
id: get_manifest
run: |
content=`cat ./package.json`
echo "::set-output name=manifest::${content}"
- uses: dev-build-deploy/release-me@v0.15.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
prefix: v
draft: true
version: ${{ fromJson(steps.get_manifest.outputs.manifest).version }}
release-notes: .github/release_description_template.md