Skip to content

Create DirectoryStructure class #4

Create DirectoryStructure class

Create DirectoryStructure class #4

name: Run On Pull Request Closed
on:
pull_request:
types:
- closed
permissions:
contents: write
packages: write
jobs:
bump_major:
if: >
github.event.pull_request.merged == true &&
contains(join(github.event.pull_request.labels.*.name, ','), 'version:major')
secrets: inherit
uses: ./.github/workflows/bump-version.yml
with:
bump_version: major
bump_minor:
if: >
github.event.pull_request.merged == true &&
contains(join(github.event.pull_request.labels.*.name, ','), 'version:minor')
secrets: inherit
uses: ./.github/workflows/bump-version.yml
with:
bump_version: minor
bump_patch:
if: >
github.event.pull_request.merged == true &&
contains(join(github.event.pull_request.labels.*.name, ','), 'version:patch')
secrets: inherit
uses: ./.github/workflows/bump-version.yml
with:
bump_version: patch