Skip to content

[backend] fix conversion error during local strategy conversion(#14756) #275

[backend] fix conversion error during local strategy conversion(#14756)

[backend] fix conversion error during local strategy conversion(#14756) #275

name: PR conventions checks
on:
pull_request:
types: [opened, edited, reopened, ready_for_review, synchronize]
jobs:
check-organization:
name: Check if label can be setup based on organization
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v6
- name: Setting labels
uses: FiligranHQ/auto-label@1.0.0
with:
labels_by_organization: "{\"FiligranHQ\":[\"filigran team\"]}"
check-pr-title-convention:
name: Check that PR title follows convention
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: Slashgear/action-check-pr-title@161cede0311ec624ae3ee76a2c27522f7b6fa2d8
with:
regexp: '^\[[a-z]+.+\].+\((#[0-9]+)\)$|^\[deps\].+'
flags: "gm"
helpMessage: "Format: '[component] Message (#issuenumber)', see https://github.com/OpenCTI-Platform/opencti/blob/master/CONTRIBUTING.md#how-can-you-contribute"
check-signed-commits:
name: Check signed commits in PR
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Information about how to sign commits see https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits
# "with comment" below does not work for forks.
run: |
echo "If you need to sign commits, Please see https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits"
- name: Check signed commits in PR on fail see above information.
uses: 1Password/check-signed-commits-action@v1
with:
comment: |
Thank you for your contribution, but we need you to sign your commits. Please see https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits