Skip to content

Commit

Permalink
Merge pull request #251 from FuelLabs/matt-user/ci-fetch-changelogs
Browse files Browse the repository at this point in the history
ci: fetch changelogs
  • Loading branch information
matt-user authored Apr 30, 2024
2 parents cb3c9de + 9f6e07f commit 897ea49
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/fetch-release-notes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Fetch Release Notes"

on:
workflow_dispatch

env:
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}

jobs:
fetch-release-notes:
runs-on: ubuntu-latest
steps:
- uses: ./.github/setup-node

- name: Run PNPM install
id: pnpm-cache
run: pnpm install

- name: Compile TS
run: pnpm exec tsc src/lib/versions.ts --outDir dist

- name: Fetch Release Notes
run: pnpm fetch:release-notes

- name: Commit changes
if: ${{ github.ref != 'refs/heads/master' }}
uses: EndBug/add-and-commit@v9
with:
message: 'docs: update release notes and changelogs'
add: './docs/notices/releasenotes-changelogs.mdx'

0 comments on commit 897ea49

Please sign in to comment.