From 4b8d9e41894e949991f655550a707f4c0513ef85 Mon Sep 17 00:00:00 2001 From: Maksim Elizarev <44438314+djmaxus@users.noreply.github.com> Date: Thu, 19 Jun 2025 22:20:09 +0100 Subject: [PATCH 1/2] WIP linkspector update --- .github/workflows/links.yml | 5 +++-- .linkspector.yml | 10 ++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 .linkspector.yml 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..3ed3f7b --- /dev/null +++ b/.linkspector.yml @@ -0,0 +1,10 @@ +files: + - README.md + - SECURITY.md + - CONTRIBUTING.md + - CITATION.cff +# dirs: +excludedFiles: + - CHANGELOG.md +# excludedDirs: +useGitIgnore: true From f3a55d033d2a89291fe33bbfcd555f27bad4da04 Mon Sep 17 00:00:00 2001 From: Maksim Elizarev <44438314+djmaxus@users.noreply.github.com> Date: Thu, 19 Jun 2025 22:22:35 +0100 Subject: [PATCH 2/2] WIP break two links --- .github/rules/main.json | 64 ----------------------------------------- .linkspector.yml | 1 - README.md | 2 +- 3 files changed, 1 insertion(+), 66 deletions(-) delete mode 100644 .github/rules/main.json 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/.linkspector.yml b/.linkspector.yml index 3ed3f7b..095ab3f 100644 --- a/.linkspector.yml +++ b/.linkspector.yml @@ -2,7 +2,6 @@ files: - README.md - SECURITY.md - CONTRIBUTING.md - - CITATION.cff # dirs: excludedFiles: - CHANGELOG.md 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)