diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 06893a9fa1..b94bfc9870 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -55,8 +55,9 @@ For the full CI gambit, the following repository configuration must be set: - Setting `Workflow Permissions` to `Read and write permissions`: Enables CodeQL uploads and GitHub Actions comments. ![image](https://github.com/tgstation/tgstation-server/assets/8171642/ab17fa74-364f-4e66-b7c4-b9bb24c6a599) - Label `CI Cleared`: To allow PRs from forks to run CI with secrets after approval. -- Integration [CodeCov](https://github.com/apps/codecov): Enables CodeCov status checks. - Variable `TGS_ENABLE_CODE_QL` to `true`: Enables CodeQL scanning in actions. +- Integration [CodeCov](https://github.com/apps/codecov): Enables CodeCov status checks. +- Secret `CODECOV_TOKEN`: A CodeCov repo token to work around https://github.com/codecov/codecov-action/issues/837. - Secret `LIVE_TESTS_TOKEN`: A GitHub token with read access to the repository and write access to https://github.com/Cyberboss/common_core (TODO: Make the target repository here configurable). Despite it's name, it may be used across the entire test suite. - Secret `TGS_TEST_DISCORD_TOKEN`: See above note about test environment variables. - Secret `TGS_TEST_DISCORD_CHANNEL`: See above note about test environment variables. diff --git a/.github/workflows/ci-suite.yml b/.github/workflows/ci-suite.yml index 1a4447aed3..05dff98f23 100644 --- a/.github/workflows/ci-suite.yml +++ b/.github/workflows/ci-suite.yml @@ -19,6 +19,7 @@ env: TGS_DOTNET_VERSION: 6.0.x TGS_TEST_GITHUB_TOKEN: ${{ secrets.LIVE_TESTS_TOKEN }} TGS_RELEASE_NOTES_TOKEN: ${{ secrets.DEV_PUSH_TOKEN }} + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} concurrency: group: "ci-${{ github.head_ref || github.run_id }}-${{ github.event_name }}"