Skip to content

mirrorchyan_release_note #1114

mirrorchyan_release_note

mirrorchyan_release_note #1114

name: mirrorchyan_release_note
on:
workflow_dispatch:
release:
types: [edited]
workflow_run:
workflows: ["Build and Release"]
types:
- completed
jobs:
mirrorchyan_release_note:
runs-on: macos-latest
if: ${{ github.repository_owner == 'OneDragon-Anything' && github.event.workflow_run.event != 'pull_request' && (github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' || github.event_name == 'release') }}
steps:
- name: Upload Release Note
if: ${{ github.repository_owner == 'OneDragon-Anything' }}
id: uploading
uses: MirrorChyan/release-note-action@v1
with:
mirrorchyan_rid: ZZZ-OneDragon
upload_token: ${{ secrets.MirrorChyanUploadToken }}
github_token: ${{ secrets.GITHUB_TOKEN }}