From c48a9d54aa82ec1b9a341b686ad17c8f8e3a59ec Mon Sep 17 00:00:00 2001 From: umignon Date: Tue, 27 May 2025 08:37:53 +0200 Subject: [PATCH 1/2] ci: update PR title linting --- .github/workflows/conventional-commits.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml index 782a3b93..452f8c9b 100644 --- a/.github/workflows/conventional-commits.yml +++ b/.github/workflows/conventional-commits.yml @@ -1,12 +1,14 @@ -name: Conventional Commits +name: Lint PR Title -on: [pull_request] +on: + pull_request_target: + types: + - opened + - edited + - reopened jobs: - build: - name: Conventional Commits - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - uses: webiny/action-conventional-commits@v1.3.0 + lint-pr-title: + uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/conventional-commits.yaml@conventional-commits-v1.0.0 + secrets: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 27d187ececb3d0ff5dd2bed93413521eddefcddd Mon Sep 17 00:00:00 2001 From: umignon Date: Tue, 27 May 2025 08:40:19 +0200 Subject: [PATCH 2/2] ci: fix workflow file reference for PR title linting --- .github/workflows/conventional-commits.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml index 452f8c9b..fd6d0c6c 100644 --- a/.github/workflows/conventional-commits.yml +++ b/.github/workflows/conventional-commits.yml @@ -9,6 +9,6 @@ on: jobs: lint-pr-title: - uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/conventional-commits.yaml@conventional-commits-v1.0.0 + uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/conventional-commits.yml@conventional-commits-v1.0.0 secrets: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}