You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by he...@apache.org on 2020/05/02 15:05:50 UTC

[netbeans] branch commit_validation created (now 1c9ebd4)

This is an automated email from the ASF dual-hosted git repository.

hectorespert pushed a change to branch commit_validation
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


      at 1c9ebd4  Commit author validation

This branch includes the following new commits:

     new 1c9ebd4  Commit author validation

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[netbeans] 01/01: Commit author validation

Posted by he...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hectorespert pushed a commit to branch commit_validation
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit 1c9ebd40435083e79375ed580c4425b5f2b50a9d
Author: Hector Espert <he...@gmail.com>
AuthorDate: Sat May 2 17:05:38 2020 +0200

    Commit author validation
    
    Proposal of commit author validation using a GitHub action
---
 .github/workflows/commits.yml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/.github/workflows/commits.yml b/.github/workflows/commits.yml
new file mode 100644
index 0000000..890afda
--- /dev/null
+++ b/.github/workflows/commits.yml
@@ -0,0 +1,19 @@
+name: Check commits
+on:
+  push:
+  pull_request:
+
+jobs:
+  check:
+    name: Verify commits
+    runs-on: ubuntu-latest
+    steps:
+    - name: Check author name and email
+      uses: hectorespert/check-commit-author-action@1.0.0
+      with:
+        # The GITHUB_TOKEN secret
+        repo-token: ${{ secrets.GITHUB_TOKEN }}
+        # Fails on commits using Github private email address, like netbeans@users.noreply.github.com
+        allow_private_email: false
+        # Author name should be match this regex
+        allow_name_regex: '^[A-Z]' # TODO: Improve regex


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists