From 0164f5f3ec0fc9f6aa2eda19c01172bf8a65a5a7 Mon Sep 17 00:00:00 2001 From: oguzhankoral Date: Sun, 1 Dec 2024 01:12:52 +0300 Subject: [PATCH] setup secret --- .github/workflows/ci.yml | 2 +- Sdk/FeatureImpactAnalyzer/GitHubPullRequestAnalyzer.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 69c851926..0db4e937b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -80,7 +80,7 @@ jobs: - name: Run Feature Impact Analyzer env: - GITHUB_TOKEN: ${{ secrets.CODECOV_TOKEN }} + GITHUB_TOKEN: ${{ secrets.FEATURE_IMPACT_SECRET }} run: | # Compile and run your side effects analyzer dotnet run --project Sdk/FeatureImpactAnalyzer \ diff --git a/Sdk/FeatureImpactAnalyzer/GitHubPullRequestAnalyzer.cs b/Sdk/FeatureImpactAnalyzer/GitHubPullRequestAnalyzer.cs index 32e3c0e95..ba0ca750e 100644 --- a/Sdk/FeatureImpactAnalyzer/GitHubPullRequestAnalyzer.cs +++ b/Sdk/FeatureImpactAnalyzer/GitHubPullRequestAnalyzer.cs @@ -14,7 +14,7 @@ public class GitHubPullRequestAnalyzer public GitHubPullRequestAnalyzer(string githubToken) { - _client = new GitHubClient(new ProductHeaderValue("SideEffectAnalyzer")) + _client = new GitHubClient(new ProductHeaderValue("FeatureImpactAnalyzer")) { Credentials = new Credentials(githubToken) };