From eb7ad88377bbde905a1148b2d6e3b78cfd389174 Mon Sep 17 00:00:00 2001 From: lelouvincx Date: Sun, 24 Dec 2023 00:24:32 +0700 Subject: [PATCH 1/2] feat: add new action #2 --- .github/workflows/naming-policy.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/naming-policy.yml diff --git a/.github/workflows/naming-policy.yml b/.github/workflows/naming-policy.yml new file mode 100644 index 0000000..301b9e6 --- /dev/null +++ b/.github/workflows/naming-policy.yml @@ -0,0 +1,15 @@ +name: Check naming policy +run-name: Check naming policy for ${{ github.ref }} + +on: [create, pull_request] + +jobs: + branch-naming-rules: + runs-on: ubuntu-22.04 + steps: + - uses: deepakputhraya/action-branch-name@master + with: + regex: '([a-z])+\/(\d+)-([a-z])+' # Regex the branch should match. This example enforces grouping + allowed_prefixes: 'feat,fix,refactor,docs' # All branches should start with the given prefix + ignore: main,dev # Ignore exactly matching branch names from convention + max_length: 100 # Max length of the branch name From e29d15a41424b729c543ab2efb107c3d3b8495b2 Mon Sep 17 00:00:00 2001 From: lelouvincx Date: Sun, 24 Dec 2023 00:25:01 +0700 Subject: [PATCH 2/2] feat: update name of General Continuous Integration #2 Ref: #10 --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 01955ac..61e7047 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -1,4 +1,4 @@ -name: Testing Continuous Integration +name: General Continuous Integration run-name: ${{ github.actor }} is testing Github Actions