Skip to content

Commit

Permalink
Merge pull request #3 from cape-ph/semantic_release_template
Browse files Browse the repository at this point in the history
feat(workflows): add `semantic_release` workfow template
  • Loading branch information
mehalter committed Sep 18, 2024
2 parents 8e5d9b4 + 46dae9d commit 25fc9c8
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
5 changes: 5 additions & 0 deletions workflow-templates/semantic_release.properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "CAPE Semantic Release Workflow",
"description": "Adds release workflow for tagging semantic versioning based releases (MAJOR.MINOR.PATCH) and requires Pull Requests match Conventional Commit Standards",
"iconName": "octicon tag"
}
19 changes: 19 additions & 0 deletions workflow-templates/semantic_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Release

on:
push:
branches: [main]
pull_request_target:
types: [opened, edited, synchronize]

permissions:
contents: write
pull-requests: write

jobs:
Release:
uses: cape-ph/.github/.github/workflows/semantic_release.yml@v1
secrets: inherit
with:
name: "CAPE Org Utilities"
is_production: ${{ github.event_name == 'push' }}

0 comments on commit 25fc9c8

Please sign in to comment.