Skip to content
This repository was archived by the owner on Sep 25, 2024. It is now read-only.

Commit be37703

Browse files
committed
feat: Add GitHub release workflow
This commit introduces a new GitHub Actions workflow for releases. The workflow triggers on new tags and uses Deno for generating the changelog. It requires write permissions to the repository contents.
1 parent 01e46da commit be37703

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/release.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: release
2+
3+
env:
4+
DENO_VERSION: 1.x
5+
6+
on:
7+
push:
8+
tags:
9+
- '*'
10+
11+
permissions:
12+
contents: write
13+
14+
jobs:
15+
release:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
- uses: denoland/setup-deno@v1
22+
with:
23+
deno-version: ${{ env.DENO_VERSION }}
24+
- run: deno run -A npm:changelogithub
25+
env:
26+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)