Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEC-102: Rollout the reusable naming and lifecycle #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
32 changes: 7 additions & 25 deletions .github/workflows/naming.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,10 @@
name: 'Naming'
name: Naming

on: pull_request

jobs:
check-branch-name:
name: Branch-Name
runs-on: ubuntu-latest
if: (github.actor != 'dependabot[bot]')
steps:
# Check that branch starts with a ticket number
# e.g. PAY-123-some_branch_name
# master and develop are the only 2 exceptions
# see: https://github.com/marketplace/actions/branch-name-rules
- uses: deepakputhraya/action-branch-name@master
with:
regex: '^[A-Z]+-[0-9]+-.*$'
ignore: master,develop
check-pr-title:
name: PR-Title
runs-on: ubuntu-latest
if: (github.actor != 'dependabot[bot]')
steps:
# Check that PR title starts with a ticket number
# e.g. PAY-123: some commit message
# see: https://github.com/marketplace/actions/check-pull-request-title
- uses: Slashgear/action-check-pr-title@v4.3.0
with:
regexp: '^[A-Z]+-[0-9]+:.*$'
naming:
name: Reusable
uses: payrails/actions/.github/workflows/reusable-naming.yaml@main
secrets:
jira_token: ${{ secrets.JIRA_TOKEN }}
Loading