Skip to content

Commit 87913d8

Browse files
committed
.
1 parent a7c41a1 commit 87913d8

File tree

4 files changed

+13
-21
lines changed

4 files changed

+13
-21
lines changed

.github/workflows/buildjs.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ on:
2626
required: false
2727
type: string
2828
secrets:
29-
GITHUB_TOKEN:
30-
required: true
3129
CODECOV_TOKEN:
3230
required: false
3331
jobs:
@@ -77,20 +75,20 @@ jobs:
7775
verbose: true # optional (default = false)
7876
- name: Create destination folder
7977
env:
80-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
81-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
78+
GH_TOKEN: ${{ github.token }}
79+
GITHUB_TOKEN: ${{ github.token }}
8280
if: ${{ success() && inputs.publishArtifact }}
8381
run: mkdir -p ${{inputs.artifactlocation}}
8482
- name: Copy file outputjs into staging directory
8583
env:
86-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
87-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
84+
GH_TOKEN: ${{ github.token }}
85+
GITHUB_TOKEN: ${{ github.token }}
8886
if: ${{ success() && inputs.publishArtifact }}
8987
run: cp ${{ inputs.projectdirectory }}/dist/broadcast.js ${{inputs.artifactlocation}}
9088
- name: Upload ${{ inputs.componentName }} artifact
9189
env:
92-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
93-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
90+
GH_TOKEN: ${{ github.token }}
91+
GITHUB_TOKEN: ${{ github.token }}
9492
if: ${{ success() && inputs.publishArtifact }}
9593
uses: actions/upload-artifact@v4
9694
with:

.github/workflows/buildpcf.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,20 @@ jobs:
3333
working-directory: ${{ inputs.pcfdirectory }}
3434
- name: Create destination folder
3535
env:
36-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
GH_TOKEN: ${{ github.token }}
37+
GITHUB_TOKEN: ${{ github.token }}
3838
if: ${{ success() && inputs.publishArtifact }}
3939
run: mkdir -p ${{inputs.artifactlocation}}
4040
- name: Copy file output pcf bundle into staging directory
4141
env:
42-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
GH_TOKEN: ${{ github.token }}
43+
GITHUB_TOKEN: ${{ github.token }}
4444
if: ${{ success() && inputs.publishArtifact }}
4545
run: cp ${{ inputs.pcfdirectory }}/out/controls/${{ inputs.componentName }}/* ${{inputs.artifactlocation}}
4646
- name: Upload ${{ inputs.componentName }} artifact
4747
env:
48-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48+
GH_TOKEN: ${{ github.token }}
49+
GITHUB_TOKEN: ${{ github.token }}
5050
if: ${{ success() && inputs.publishArtifact }}
5151
uses: actions/upload-artifact@v4
5252
with:

.github/workflows/ci-validation.yml

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

4544

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

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

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

3332

@@ -39,8 +38,6 @@ jobs:
3938
publishArtifact: true
4039
componentName: AppModulePicker
4140
artifactlocation: '${{ github.workspace }}/dist'
42-
secrets:
43-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4441
release:
4542
name: Create Release from tag
4643
needs: [ buildAppModulePickerPCF, buildBroadCastJs]

0 commit comments

Comments
 (0)