新增课程答案:人工智能时代的身份、代理、平等和安全,英美音乐与文化,生命科学导论 (#6) #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trigger Workflow in hoa.moe | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
trigger: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger workflow in hoa.moe | |
env: | |
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
run: | | |
curl -X POST \ | |
-H "Accept: application/vnd.github.v3+json" \ | |
-H "Authorization: token $GITHUB_TOKEN" \ | |
https://api.github.com/repos/HITSZ-OpenAuto/hoa.moe/actions/workflows/course.yaml/dispatches \ | |
-d '{"ref":"main"}' |