Skip to content

feat: make graph memory core #15

feat: make graph memory core

feat: make graph memory core #15

Workflow file for this run

name: Release
on:
pull_request:
types: [closed]
branches: [main]
jobs:
release:
if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release/')
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: main
- name: Extract version from branch name
id: version
run: |
BRANCH="${{ github.event.pull_request.head.ref }}"
TAG=$(echo "$BRANCH" | sed 's|release/||')
echo "tag=$TAG" >> "$GITHUB_OUTPUT"
echo "Extracted tag: $TAG"
- name: Create GitHub release
run: gh release create "${{ steps.version.outputs.tag }}" --generate-notes --target main
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}