Skip to content

Commit 4971cff

Browse files
committed
fix all
1 parent 9b57f5b commit 4971cff

File tree

4 files changed

+27
-1
lines changed

4 files changed

+27
-1
lines changed

.github/workflows/buildjs.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ on:
2626
required: false
2727
type: string
2828
secrets:
29+
GITHUB_TOKEN:
30+
required: true
2931
CODECOV_TOKEN:
3032
required: false
3133
jobs:
@@ -74,12 +76,21 @@ jobs:
7476
token: ${{ secrets.CODECOV_TOKEN }}
7577
verbose: true # optional (default = false)
7678
- name: Create destination folder
79+
env:
80+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
81+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7782
if: ${{ success() && inputs.publishArtifact }}
7883
run: mkdir -p ${{inputs.artifactlocation}}
7984
- name: Copy file outputjs into staging directory
85+
env:
86+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
87+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8088
if: ${{ success() && inputs.publishArtifact }}
8189
run: cp ${{ inputs.projectdirectory }}/dist/broadcast.js ${{inputs.artifactlocation}}
8290
- name: Upload ${{ inputs.componentName }} artifact
91+
env:
92+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
93+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8394
if: ${{ success() && inputs.publishArtifact }}
8495
uses: actions/upload-artifact@v4
8596
with:

.github/workflows/buildpcf.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,21 @@ jobs:
3232
run: npm run build
3333
working-directory: ${{ inputs.pcfdirectory }}
3434
- name: Create destination folder
35+
env:
36+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3538
if: ${{ success() && inputs.publishArtifact }}
3639
run: mkdir -p ${{inputs.artifactlocation}}
3740
- name: Copy file output pcf bundle into staging directory
41+
env:
42+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3844
if: ${{ success() && inputs.publishArtifact }}
3945
run: cp ${{ inputs.pcfdirectory }}/out/controls/${{ inputs.componentName }}/* ${{inputs.artifactlocation}}
4046
- name: Upload ${{ inputs.componentName }} artifact
47+
env:
48+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4150
if: ${{ success() && inputs.publishArtifact }}
4251
uses: actions/upload-artifact@v4
4352
with:

.github/workflows/ci-validation.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
publishCodeCov: true
4040
artifactlocation: '${{ github.workspace }}/dist'
4141
secrets:
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4243
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4344

4445

@@ -48,4 +49,6 @@ jobs:
4849
with:
4950
pcfdirectory: 'src/broadcast-pcf/appmodulepicker'
5051
publishArtifact: false
51-
componentName: AppModulePicker
52+
componentName: AppModulePicker
53+
secrets:
54+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release-on-tag.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
publishCodeCov: false
2828
artifactlocation: '${{ github.workspace }}/dist'
2929
secrets:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3031
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3132

3233

@@ -38,6 +39,8 @@ jobs:
3839
publishArtifact: true
3940
componentName: AppModulePicker
4041
artifactlocation: '${{ github.workspace }}/dist'
42+
secrets:
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4144
release:
4245
name: Create Release from tag
4346
needs: [ buildAppModulePickerPCF, buildBroadCastJs]

0 commit comments

Comments
 (0)