Skip to content

Commit

Permalink
feat: add release workflow
Browse files Browse the repository at this point in the history
This commit introduces a new GitHub Actions workflow for releases.
The workflow triggers on any tag push and sets up a Deno environment
to run the 'changelogithub' script. It has write permissions to the
repository contents.
  • Loading branch information
ryoppippi committed Aug 6, 2024
1 parent 8398d56 commit 99b0fd2
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: release

env:
DENO_VERSION: 1.x

on:
push:
tags:
- '*'

permissions:
contents: write

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: denoland/setup-deno@v1
with:
deno-version: ${{ env.DENO_VERSION }}
- run: deno run -A npm:changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 99b0fd2

Please sign in to comment.