This repository was archived by the owner on Aug 8, 2025. It is now read-only.
init project #15
This file contains hidden or 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: master Merge main | |
on: | |
# 推送代码后触发 | |
push: | |
branches: | |
- main | |
jobs: | |
merge: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Using REST API pre-master2 Merge pre-master | |
run: | | |
curl \ | |
-X POST \ | |
-H "Accept: application/vnd.github.v3+json" \ | |
-H "content-type: application/json" \ | |
-H "authorization: Bearer ${{ secrets.ACCESS_TOKEN }}" \ | |
https://github.com/cloud-templates/GithubAction/merges \ | |
-d '{"base":"master","head":"main"}' | |