Merge pull request #9 from tellihealth/feature/support_for_openapi_paths #3
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: Bump Version on Merge to Main | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| bump-version: | |
| runs-on: ubuntu-latest | |
| if: "!contains(github.event.head_commit.message, 'ci: bump version')" # skip version bump commits | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Bump version (patch) | |
| run: | | |
| git config --global user.email "ci-bot@tellihealth.com" | |
| git config --global user.name "CI Bot" | |
| npm version patch -m "ci: bump version to %s" | |
| git push origin main --follow-tags |