Bump Minor Version #2
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: Bump Minor Version | |
on: | |
workflow_dispatch: | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
setup-telegram-bot: | |
name: Bump Minor Version | |
runs-on: ubuntu-latest | |
environment: production | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Run script file | |
run: | | |
chmod +x ./scripts/get_version.sh | |
chmod +x ./scripts/bump_version.sh | |
./scripts/bump_version.sh --minor | |
shell: bash | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
branch: 'bump-minor-version' | |
delete-branch: true | |
commit-message: 'Bump minor version' | |
title: 'Bump minor version' | |
token: ${{ secrets.GITHUB_TOKEN }} |