diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml
index 1a3d79a79..9fbd57084 100644
--- a/.github/codeql/codeql-config.yml
+++ b/.github/codeql/codeql-config.yml
@@ -10,4 +10,5 @@ queries:
   - uses: security-extended
   - uses: security-and-quality
 paths-ignore:
-  - tests
\ No newline at end of file
+  - tests
+  - lib
diff --git a/.github/workflows/update-release-branch.yml b/.github/workflows/update-release-branch.yml
index 6815ac3cf..f0abef5be 100644
--- a/.github/workflows/update-release-branch.yml
+++ b/.github/workflows/update-release-branch.yml
@@ -7,6 +7,7 @@ on:
     # curl -H "Authorization: Bearer <token>" -X POST https://api.github.com/repos/github/codeql-action/dispatches -d '{"event_type":"update-release-branch"}'
     # Replace <token> with a personal access token from this page: https://github.com/settings/tokens
     types: [update-release-branch]
+  workflow_dispatch:
 
 jobs:
   update: