chore: remove useless changesets workflow (#1325)

This commit is contained in:
DarkSky
2023-03-06 01:01:07 +08:00
committed by GitHub
parent 5b75d32a8a
commit dd1842647a
5 changed files with 1 additions and 657 deletions

View File

@@ -1,41 +0,0 @@
name: AFFiNE Changelog
on:
workflow_dispatch:
# Cancels all previous workflow runs for pull requests that have not completed.
# See https://docs.github.com/en/actions/using-jobs/using-concurrency
concurrency:
# The concurrency group contains the workflow name and the branch name for
# pull requests or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
build:
name: publish changelog
runs-on: self-hosted
environment: development
permissions:
pull-requests: write
contents: write
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
registry-url: https://npm.pkg.github.com
scope: '@toeverything'
cache: 'pnpm'
- name: Install dependencies
run: pnpm i --no-frozen-lockfile
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_GITHUB_AUTH_TOKEN }}
- name: Create changelog
id: changesets
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}