diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000..bd8c1b97 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,15 @@ + + +### Proposed changes + +* + +### Related issues + +* + diff --git a/.github/workflows/auto-set-labels.yml b/.github/workflows/auto-set-labels.yml new file mode 100644 index 00000000..315a844a --- /dev/null +++ b/.github/workflows/auto-set-labels.yml @@ -0,0 +1,14 @@ +name: Assign label Filigran team on PR from an organization +on: pull_request +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + steps: + - uses: actions/checkout@v4 + - name: Setting labels + uses: FiligranHQ/auto-label@1.0.0 + with: + labels_by_organization: "{\"FiligranHQ\":[\"filigran team\"]}" \ No newline at end of file diff --git a/.github/workflows/check-verified-commit.yml b/.github/workflows/check-verified-commit.yml new file mode 100644 index 00000000..f2cdff6a --- /dev/null +++ b/.github/workflows/check-verified-commit.yml @@ -0,0 +1,19 @@ +name: Check signed commits in PR +on: [pull_request,pull_request_target] +jobs: + 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 \ No newline at end of file