.github/workflows/auto_pr_to_stable.yml #43
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
jobs: | |
auto_pr_to_stable: | |
runs-on: ubuntu-latest | |
name: Auto PR to stable | |
steps: | |
- name: Create PR | |
run: | | |
curl --request POST \ | |
--url https://api.github.com/repos/${{ github.repository }}/pulls \ | |
--header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \ | |
--header 'content-type: application/json' \ | |
--data '{ | |
"title": "Merge to stable", | |
"head": "master", | |
"base": "stable" | |
}' | |
on: | |
schedule: | |
- cron: '0 0 * * 5' |