Skip to content

Commit b568249

Browse files
committed
fix(ci tokens): Using nugetkey token not personal for write permission
1 parent 408c6d1 commit b568249

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

.github/workflows/dev.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ permissions:
1212
env:
1313

1414
# Permission
15-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
16+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
18+
# Try other token so semver has the ability to add comments
19+
GITHUB_TOKEN: ${{ secrets.NUGETKEY }}
1620
PACKAGES_TOKEN: ${{ secrets.NUGETKEY }}
1721
GITHUB_USERNAME: "Phil-NHS"
1822

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ permissions:
1111
env:
1212

1313
# Permission
14-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14+
15+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16+
17+
# Try other token so semver has the ability to add comments
18+
GITHUB_TOKEN: ${{ secrets.NUGETKEY }}
1519
PACKAGES_TOKEN: ${{ secrets.NUGETKEY }}
1620
GITHUB_USERNAME: "Phil-NHS"
1721

@@ -103,7 +107,7 @@ jobs:
103107
find . -name "packages.lock.json" -type f -exec rm -f {} \;
104108
105109
- name: Restore NuGet Packages for Specifically the BCL Package Library Project
106-
run: dotnet restore Package.BlazorComponentLibrary/Package.BlazorComponentLibrary.csproj
110+
run: dotnet restore TELBlazor.Components.csproj
107111

108112
- name: Set up Node.js so we have gulp for retrieving TEL Frontend Css
109113
uses: actions/setup-node@v4

.github/workflows/reuseable-ci-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#qqqq to do refactor to here
2-
2+
# naming with the yml name because
33
name: Reusable CI Checks
44

55
on:

0 commit comments

Comments
 (0)