Skip to content

[stable] updated readme #3

[stable] updated readme

[stable] updated readme #3

name: Create New Stable Version (Push)
on:
push:
branches:
- main
jobs:
create_pull_request:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Check commit message for [stable]
id: check_commit_message
run: echo ::set-output name=contains_stable::$(if grep -q "\[stable\]" <<< "$(git log --format=%B -n 1)"; then echo true; else echo false; fi)
- name: Create Pull Request
if: steps.check_commit_message.outputs.contains_stable == 'true'
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: stable
base: main
title: Automated New Stable Version
body: This pull request was automatically created by the workflow and contains the latest stable version of the repository.