engine-bay/admin-portal

View on GitHub
.github/workflows/auto-release.yml

Summary

Maintainability
Test Coverage
name: Auto Release
on:
  push:
    branches:
      - main
  pull_request:
    types:
      - closed
    branches:
      - main
jobs:
  bump_version:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
      with:
        ref: ${{ github.sha }}
        fetch-depth: '0'

    - name: Bump version and push tag
      uses: anothrNick/github-tag-action@1.61.0 # Don't use @master unless you're happy to test the latest version
      env:
        GITHUB_TOKEN: ${{ secrets.AUTO_RELEASE_GITHUB_TOKEN }}
        WITH_V: false
        # DRY_RUN: true
        DEFAULT_BUMP: none