Selaa lähdekoodia

refactor(ci): rename conventional-commits workflow to commits

Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
Sandro-Alessio Gierens 1 vuosi sitten
vanhempi
sitoutus
fd56aad52e
2 muutettua tiedostoa jossa 21 lisäystä ja 3 poistoa
  1. 19 0
      .github/workflows/commits.yml
  2. 2 3
      .github/workflows/conventional-commits.yml

+ 19 - 0
.github/workflows/commits.yml

@@ -0,0 +1,19 @@
+name: Commits
+
+on:
+  push:
+    branches: [ main ]
+  pull_request:
+    branches: [ main ]
+
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
+  cancel-in-progress: true
+
+jobs:
+  conventional-commits:
+    name: Conventional Commits
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v4
+      - uses: webiny/action-conventional-commits@v1.3.0

+ 2 - 3
.github/workflows/conventional-commits.yml

@@ -1,4 +1,4 @@
-name: Conventional Commits
+name: Commits
 
 on:
   push:
@@ -11,10 +11,9 @@ concurrency:
   cancel-in-progress: true
 
 jobs:
-  build:
+  conventional-commits:
     name: Conventional Commits
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v4
-
       - uses: webiny/action-conventional-commits@v1.3.0