Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: "auto-release"
on:
push:
branches:
- main
workflow_dispatch:
workflow_call:

jobs:
auto-release:
uses: GlueOps/github-workflows/.github/workflows/auto-release.yml@feat/adding-new-pr-check-workflows
secrets: inherit
runs-on: ubuntu-latest
steps:
- uses: cloudposse/github-action-auto-release@866180107092a985cadc864c327cb555c2331e6f # v2
with:
publish: true
45 changes: 45 additions & 0 deletions .github/workflows/glueops-basic-pr-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Publish Development Helm Charts

on:
workflow_call:


jobs:
PR_CHECKS_AND_LABELS:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Validate Conventional Commit Messages
uses: webiny/action-conventional-commits@8bc41ff4e7d423d56fa4905f6ff79209a78776c7 # v1.3.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Optional, for private repositories.
allowed-commit-types: "fix,docs,style,refactor,test,chore,pref,ci,chore,feat,breaking,major,revert"

- name: Add default PR Labels
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5
with:
configuration-path: ".github/configs/labeler.yml"

- name: Assign PR Labels based on conventional commit messages
id: action-assign-labels
uses: mauroalderete/action-assign-labels@762b1609dfd32cc7549a39fb169f47742a994d13 # v1
with:
pull-request-number: ${{ github.event.pull_request.number }}
github-token: ${{ secrets.GITHUB_TOKEN }}
conventional-commits: |
conventional-commits:
- type: 'fix'
nouns: ['fix', 'docs', 'style', 'refactor', 'test', 'chore', 'pref', 'ci', 'chore']
labels: ['patch']
- type: 'feature'
nouns: ['feat']
labels: ['minor','enhancement']
- type: 'breaking_change'
nouns: ['breaking', 'major']
labels: ['major']
maintain-labels-not-matched: false
apply-changes: true