From 2e6732daf61a17c811fed02a23b982eb5fcb52ff Mon Sep 17 00:00:00 2001 From: Ali-Yazdani Date: Thu, 24 Oct 2024 12:07:11 +0200 Subject: [PATCH 1/2] update naming --- .github/workflows/naming.yaml | 32 +++++++------------------------- 1 file changed, 7 insertions(+), 25 deletions(-) diff --git a/.github/workflows/naming.yaml b/.github/workflows/naming.yaml index f0ed2e3..42b15b4 100644 --- a/.github/workflows/naming.yaml +++ b/.github/workflows/naming.yaml @@ -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 }} From 431e0dc958c58a48bb0677676c89eb65b870a34e Mon Sep 17 00:00:00 2001 From: Ali-Yazdani Date: Tue, 29 Oct 2024 14:15:41 +0100 Subject: [PATCH 2/2] check