Skip to content

Commit 0f0aede

Browse files
authored
ci: add changelog workflow
1 parent e0effe0 commit 0f0aede

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/changelog.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Release and Update Website Changelog
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*.*.*"
7+
workflow_dispatch:
8+
inputs:
9+
test_version:
10+
description: "The fake version to test (e.g., 99.9.9)"
11+
required: true
12+
default: "99.9.9"
13+
14+
jobs:
15+
release:
16+
# Repo default is read-only; the called workflow needs write, and a reusable
17+
# workflow can never hold more than its caller.
18+
permissions:
19+
contents: write
20+
issues: write
21+
# Pin to a reviewed release tag (or, strongest, a full commit SHA) — not @main. See "Security" below.
22+
uses: sqlitecloud/changelog-action/.github/workflows/action.yml@v1
23+
with:
24+
name: "SQLite-Memory"
25+
stage_branch: ${{ vars.WEBSITE_STAGE_BRANCH }} # staging branch changelog PRs target
26+
create_release: false
27+
secrets:
28+
personal_access_token: ${{ secrets.WEBSITE_REPO_PAT }}
29+
website_repo: ${{ secrets.WEBSITE_REPO }}
30+
website_changelog_dir: ${{ secrets.WEBSITE_CHANGELOG_DIR }}

0 commit comments

Comments
 (0)