Skip to content

更新 Telegram

更新 Telegram #39

Workflow file for this run

name: Push to subconverter
on:
push:
workflow_dispatch:
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
# 自动取消其他运行中的workflow
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
env:
GIT_TOKEN: ${{secrets.REPO_TOKEN}}
steps:
- uses: actions/[email protected]
- name: Push update to subconverter
if: ${{ github.ref == 'refs/heads/master' }}
uses: actions/[email protected]
with:
github-token: ${{env.GIT_TOKEN}}
script: |
github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: 'subconverter',
workflow_id: 'sub-web.yml',
ref: 'main',
});