From b5682497c1cdf5f43b23428ac19c0d1176d9cf54 Mon Sep 17 00:00:00 2001 From: Phil-NHS Date: Tue, 6 May 2025 11:12:02 +0100 Subject: [PATCH 1/2] fix(ci tokens): Using nugetkey token not personal for write permission --- .github/workflows/dev.yml | 6 +++++- .github/workflows/release.yml | 8 ++++++-- .github/workflows/reuseable-ci-checks.yml | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index b63f880..2e858c7 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -12,7 +12,11 @@ permissions: env: # Permission - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + # Try other token so semver has the ability to add comments + GITHUB_TOKEN: ${{ secrets.NUGETKEY }} PACKAGES_TOKEN: ${{ secrets.NUGETKEY }} GITHUB_USERNAME: "Phil-NHS" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 087dd39..dbe56ef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,11 @@ permissions: env: # Permission - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + # Try other token so semver has the ability to add comments + GITHUB_TOKEN: ${{ secrets.NUGETKEY }} PACKAGES_TOKEN: ${{ secrets.NUGETKEY }} GITHUB_USERNAME: "Phil-NHS" @@ -103,7 +107,7 @@ jobs: find . -name "packages.lock.json" -type f -exec rm -f {} \; - name: Restore NuGet Packages for Specifically the BCL Package Library Project - run: dotnet restore Package.BlazorComponentLibrary/Package.BlazorComponentLibrary.csproj + run: dotnet restore TELBlazor.Components.csproj - name: Set up Node.js so we have gulp for retrieving TEL Frontend Css uses: actions/setup-node@v4 diff --git a/.github/workflows/reuseable-ci-checks.yml b/.github/workflows/reuseable-ci-checks.yml index 753b8d7..43dfdf9 100644 --- a/.github/workflows/reuseable-ci-checks.yml +++ b/.github/workflows/reuseable-ci-checks.yml @@ -1,5 +1,5 @@ #qqqq to do refactor to here - +# naming with the yml name because name: Reusable CI Checks on: From 33eed1b224a3ddce9de84db2154b5a49654c04da Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 6 May 2025 10:13:36 +0000 Subject: [PATCH 2/2] chore(release): 1.0.0-ci-setup.2 [skip ci] # [1.0.0-ci-setup.2](https://github.com/TechnologyEnhancedLearning/TELBlazor/compare/v1.0.0-ci-setup.1...v1.0.0-ci-setup.2) (2025-05-06) ### Bug Fixes * **ci tokens:** Using nugetkey token not personal for write permission ([b568249](https://github.com/TechnologyEnhancedLearning/TELBlazor/commit/b5682497c1cdf5f43b23428ac19c0d1176d9cf54)) --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f8c9d3..633a18d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [1.0.0-ci-setup.2](https://github.com/TechnologyEnhancedLearning/TELBlazor/compare/v1.0.0-ci-setup.1...v1.0.0-ci-setup.2) (2025-05-06) + + +### Bug Fixes + +* **ci tokens:** Using nugetkey token not personal for write permission ([b568249](https://github.com/TechnologyEnhancedLearning/TELBlazor/commit/b5682497c1cdf5f43b23428ac19c0d1176d9cf54)) + # 1.0.0-ci-setup.1 (2025-05-06)