diff --git a/.github/rules/main.json b/.github/rules/main.json deleted file mode 100644 index fb2e870..0000000 --- a/.github/rules/main.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "name": "main", - "target": "branch", - "source_type": "Repository", - "source": "djmaxus/matlab-repo-init", - "enforcement": "active", - "conditions": { - "ref_name": { - "exclude": [], - "include": [ - "~DEFAULT_BRANCH", - "refs/heads/main" - ] - } - }, - "rules": [ - { - "type": "deletion" - }, - { - "type": "non_fast_forward" - }, - { - "type": "creation" - }, - { - "type": "required_linear_history" - }, - { - "type": "pull_request", - "parameters": { - "required_approving_review_count": 1, - "dismiss_stale_reviews_on_push": true, - "require_code_owner_review": true, - "require_last_push_approval": true, - "required_review_thread_resolution": true, - "automatic_copilot_code_review_enabled": true, - "allowed_merge_methods": [ - "squash", - "rebase" - ] - } - }, - { - "type": "code_scanning", - "parameters": { - "code_scanning_tools": [ - { - "tool": "CodeQL", - "security_alerts_threshold": "all", - "alerts_threshold": "all" - } - ] - } - } - ], - "bypass_actors": [ - { - "actor_id": 5, - "actor_type": "RepositoryRole", - "bypass_mode": "pull_request" - } - ] -} diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index 79a7873..7211ff2 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -15,8 +15,9 @@ jobs: - name: Run linkspector uses: umbrelladocs/action-linkspector@v1 with: - github_token: ${{ secrets.github_token }} + github_token: ${{ secrets.GITHUB_TOKEN }} reporter: github-check - # level: info + level: info show_stats: false fail_level: warning + config_file: .linkspector.yml diff --git a/.linkspector.yml b/.linkspector.yml new file mode 100644 index 0000000..095ab3f --- /dev/null +++ b/.linkspector.yml @@ -0,0 +1,9 @@ +files: + - README.md + - SECURITY.md + - CONTRIBUTING.md +# dirs: +excludedFiles: + - CHANGELOG.md +# excludedDirs: +useGitIgnore: true diff --git a/README.md b/README.md index f1bf5d2..fde09a0 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ of your freshly established public MATLAB project! Please go to repository's [Wiki][wiki] (when it's ready) for more detailed user manual. -Do not hesitate to ask [me](https://djmaxus.github.io/) +Do not hesitate to ask [me](https://djmaxus.deva) for assistance and technical support.\ And everyone is welcome to open [issues](https://github.com/djmaxus/matlab-repo-init/issues)