From bf93e0da102565ab8fba0b805388e1c010437298 Mon Sep 17 00:00:00 2001 From: borislavr Date: Wed, 13 Aug 2025 09:03:01 +0000 Subject: [PATCH 1/3] chore(ci): update of CLA workflow CLA will not executed on PRs in draft state [skip ci] --- .github/workflows/cla.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/cla.yaml diff --git a/.github/workflows/cla.yaml b/.github/workflows/cla.yaml new file mode 100644 index 0000000..9655936 --- /dev/null +++ b/.github/workflows/cla.yaml @@ -0,0 +1,35 @@ +--- +name: CLA Assistant +on: + issue_comment: + types: [created] + pull_request_target: + types: [opened, closed, synchronize] + +permissions: + contents: read + +jobs: + CLAAssistant: + if: github.event.pull_request.draft == false + permissions: + actions: write + contents: write + pull-requests: write + statuses: write + runs-on: ubuntu-latest + steps: + - name: "CLA Assistant" + if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' + uses: contributor-assistant/github-action@v2.6.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_ACCESS_TOKEN }} + with: + path-to-signatures: 'signatures/version1/cla.json' + path-to-document: 'https://github.com/Netcracker/qubership-github-workflows/blob/main/CLA/cla.md' + # branch should not be protected + branch: 'main' + allowlist: NetcrackerCLPLCI,web-flow,bot* + remote-repository-name: cla-storage + remote-organization-name: Netcracker From 663dfa41d9bf83a3880bda85d490d5a30159e167 Mon Sep 17 00:00:00 2001 From: borislavr Date: Mon, 13 Oct 2025 13:13:40 +0000 Subject: [PATCH 2/3] chore(ci): update of CLA workflow Pinned `contributor-assistant/github-action` version to v2.6.1 SHA --- .github/workflows/cla.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/cla.yaml b/.github/workflows/cla.yaml index 9655936..3ee48eb 100644 --- a/.github/workflows/cla.yaml +++ b/.github/workflows/cla.yaml @@ -11,7 +11,6 @@ permissions: jobs: CLAAssistant: - if: github.event.pull_request.draft == false permissions: actions: write contents: write @@ -21,7 +20,7 @@ jobs: steps: - name: "CLA Assistant" if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' - uses: contributor-assistant/github-action@v2.6.1 + uses: contributor-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08 #v2.6.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_ACCESS_TOKEN }} From 91b291baf4e9848fc4249c4ad4d859a65730a16d Mon Sep 17 00:00:00 2001 From: borislavr Date: Thu, 14 May 2026 10:30:44 +0000 Subject: [PATCH 3/3] chore(ci): update of CLA workflow Switching to our own copy of the CLAAssistant action, as the original action has been archived. Plus, our version has been rewritten for Node.24. --- .github/workflows/cla.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cla.yaml b/.github/workflows/cla.yaml index 3ee48eb..152b919 100644 --- a/.github/workflows/cla.yaml +++ b/.github/workflows/cla.yaml @@ -4,7 +4,7 @@ on: issue_comment: types: [created] pull_request_target: - types: [opened, closed, synchronize] + types: [opened] permissions: contents: read @@ -20,13 +20,13 @@ jobs: steps: - name: "CLA Assistant" if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' - uses: contributor-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08 #v2.6.1 + uses: Netcracker/qubership-workflow-hub/actions/cla-assistant@e64a1ee2fc2f68ab44a4ef416c27d83ce36ba8e1 # v2.2.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_ACCESS_TOKEN }} with: path-to-signatures: 'signatures/version1/cla.json' - path-to-document: 'https://github.com/Netcracker/qubership-github-workflows/blob/main/CLA/cla.md' + path-to-document: 'https://github.com/Netcracker/qubership-workflow-hub/blob/release/v2.2.0/CLA/cla.md' # branch should not be protected branch: 'main' allowlist: NetcrackerCLPLCI,web-flow,bot*