Files
wanderer/.github/workflows/release_request.yaml
Flomp 27728c4ce7 fix/release-workflow (#763)
* fix/release-workflow

* Potential fix for code scanning alert no. 20: Workflow does not contain permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

---------

Co-authored-by: Christian Beutel <>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2026-02-03 15:14:55 +01:00

39 lines
1.1 KiB
YAML

name: Release Request
on:
workflow_dispatch:
inputs:
version:
description: "The version to release (e.g., 0.12.0)"
required: true
jobs:
create-pr:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Bump versions
run: |
VERSION=${{ github.event.inputs.version }}
cd web && npm version $VERSION --no-git-tag-version && cd ..
cd docs && npm version $VERSION --no-git-tag-version && cd ..
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore: release v${{ github.event.inputs.version }}"
branch: "release/v${{ github.event.inputs.version }}"
title: "Release v${{ github.event.inputs.version }}"
body: "This PR bumps the version. Merging this will trigger Docker builds and a GitHub Release."
base: main