Skip to content

.github/workflows/auto_pr_to_stable.yml #35

.github/workflows/auto_pr_to_stable.yml

.github/workflows/auto_pr_to_stable.yml #35

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'