feat: enable prevent branch protection rules (#199)

also:
- refactor deprecated config

Signed-off-by: Sandra Parsick <sandra@parsick.dev>
diff --git a/.asf.yaml b/.asf.yaml
index 84c9420..e7a21f2 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -30,7 +30,10 @@
     rebase: true
   autolink_jira:
     - MCHANGELOG
-  del_branch_on_merge: true
+  protected_branches:
+    master: { }
+  pull_requests:
+    del_branch_on_merge: true
   features:
     issues: true
 notifications: