Skip to content

Commit

Permalink
CI/Introduce label checker & Auto release (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
vifer authored May 30, 2024
1 parent 9549153 commit f02bd79
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/check-semver.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Label Checker

on:
pull_request:
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled

jobs:
check_labels:
name: Check labels
runs-on: ubuntu-latest
steps:
- uses: docker://agilepathway/pull-request-label-checker:v1.6.13
with:
one_of: norelease,release:major,release:minor,release:patch
repo_token: ${{ secrets.GITHUB_TOKEN }}
17 changes: 17 additions & 0 deletions .github/workflows/release-on-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Release on Push

on:
push:
branches:
- main

jobs:
release_on_push:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: rymndhng/[email protected]
with:
bump_version_scheme: norelease
use_github_release_notes: true

0 comments on commit f02bd79

Please sign in to comment.