From f322cb55497e5baee8b8edd3155246e86f8980ce Mon Sep 17 00:00:00 2001 From: QingFeng Date: Mon, 5 May 2025 22:24:20 +0800 Subject: [PATCH 1/5] Update FACList --- Assets/Configs/FACList.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Assets/Configs/FACList.json b/Assets/Configs/FACList.json index eac5504e..bfe60b91 100644 --- a/Assets/Configs/FACList.json +++ b/Assets/Configs/FACList.json @@ -50,11 +50,12 @@ "d29rY2xhc3RpYyM3Njc4LFx1ODJFNlx1NUMzRFx1NzUxOFx1Njc2NQ==", "ZXBvY2h3YXZ5IzUwMTgsXHU5NzUyXHU1RTFEXHU1MzREXHU3MzY4XHU2MTFCXHU1OTc2XHU1MTU0XHU1MzREXHU3NjBCXHU0RTg2", "Y29ybmVyd29udCMwMDkxLFx1N0ZEMlx1NTkyN1x1NTkyNw==", - "a2VlbnRydWcjMTY0Myxf" + "a2VlbnRydWcjMTY0Myxf", + "YWxwaGFjb29rIzY2MjQsTm9uYWx1cw==" ], "Griefer": [ "c2V0bW9sYXIjNDM3NCxcdTg1Q0ZcdTY1Q0ZcdTk4NzZcdTk0ODg=", "b3ZlcnRmZWFzdCM1ODAyLFx1OUVEMVx1NUY3MQ==", "bW9yZWtub3QjODE1MCxMdXJrZXI=" ] -} \ No newline at end of file +} From 92ebafa1f14794f237583921ad494b4eb26eb207 Mon Sep 17 00:00:00 2001 From: QingFeng Date: Mon, 5 May 2025 23:13:20 +0800 Subject: [PATCH 2/5] Update check-security-update.yaml --- .github/workflows/check-security-update.yaml | 21 ++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/check-security-update.yaml b/.github/workflows/check-security-update.yaml index 6add4613..b04bd61f 100644 --- a/.github/workflows/check-security-update.yaml +++ b/.github/workflows/check-security-update.yaml @@ -6,11 +6,14 @@ on: permissions: contents: read - pull-requests: read + pull-requests: write + statuses: write jobs: check-pr: runs-on: ubuntu-latest + env: + REQUIRED_CHECK_NAME: "Security Policy Validation" steps: - name: Checkout repository uses: actions/checkout@v4 @@ -58,7 +61,6 @@ jobs: id: check-security if: steps.validate-ref.outputs.base_ref_valid == 'true' run: | - echo "Fetching base ref: $GITHUB_BASE_REF" if ! git fetch origin "$GITHUB_BASE_REF"; then echo "::error::Failed to fetch base ref: $GITHUB_BASE_REF" exit 1 @@ -70,8 +72,15 @@ jobs: echo "security_modified=false" >> $GITHUB_OUTPUT fi - - name: Fail if SECURITY.md not modified + - name: Notify and fail if SECURITY.md not modified if: steps.check-label.outputs.has_develop_label == 'true' && steps.check-security.outputs.security_modified == 'false' - run: | - echo "::error::SECURITY.md file was not modified but PR has 'Develop' label" - exit 1 + uses: actions/github-script@v6 + with: + script: | + github.rest.issues.createComment({ + issue_number: context.issue.number, + owner: context.repo.owner, + repo: context.repo.repo, + body: "大版本更新需要同时更新安全政策文件。\n更新此仓库的`SECURITY.md`,并将您的版本添加至版本列表中,将其标记为**受支持的版本**( :white_check_mark: )。" + }) + core.setFailed("SECURITY.md file was not modified but PR has 'Develop' label") From d4d8549a43472d03d37607dc45710c62686481c8 Mon Sep 17 00:00:00 2001 From: QingFeng Date: Wed, 7 May 2025 23:08:17 +0800 Subject: [PATCH 3/5] Update README --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index b0505509..8e80dad8 100644 --- a/README.md +++ b/README.md @@ -35,5 +35,9 @@ For detailed documentation on how to use this plugin (installation, updates, etc +--- + +Want to contribute to FinalSuspect? Check out the [CONTRIBUTING](CONTRIBUTING.md). + ## Star History ![Star History Chart](https://api.star-history.com/svg?repos=XtremeWave/FinalSuspect&type=Date) From 11eee7e9529154ce7ca3c4da57d4c6582bc87889 Mon Sep 17 00:00:00 2001 From: QingFeng Date: Wed, 7 May 2025 23:10:46 +0800 Subject: [PATCH 4/5] Update README(ZH) --- README_zh.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README_zh.md b/README_zh.md index 01117abc..e89b27e5 100644 --- a/README_zh.md +++ b/README_zh.md @@ -34,5 +34,9 @@ FinalSuspect是一个适用于Among Us的原版优化插件。\ +--- + +要为FinalSuspect做贡献?请参阅[贡献指南](CONTRIBUTING.md)。 + ## 星标历史 ![Star History Chart](https://api.star-history.com/svg?repos=XtremeWave/FinalSuspect&type=Date) From 2c180df22424948a167857f53252f605f93c7340 Mon Sep 17 00:00:00 2001 From: QingFeng Date: Wed, 7 May 2025 23:22:59 +0800 Subject: [PATCH 5/5] Update CONTRIBUTING --- CONTRIBUTING.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a870b01d..3bff2909 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,16 +5,14 @@ 您的工作环境上需要安装下列内容: - .NET 6 - Git -- (可选但推荐) Visual Studio / Jetbrains Rider / Visual Studio Code / Mono Develop ### 提交贡献 将FinalSuspect克隆至本地: +> 在执行命令之前,请先Fork本仓库。 ```bash -git clone https://github.com/XtremeWave/FinalSuspect.git +git clone git@github.com:<你的GitHub用户名>/FinalSuspect.git ``` -> [!TIP] -> 若您复刻了自己的仓库,则需要将`XtremeWave`替换为您的GitHub用户名。 使用此命令提交并推送: ```bash