Skip to content

Commit d4db495

Browse files
committed
Use github.token
1 parent 7c256b4 commit d4db495

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/merge-release-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Merge to master
4040
uses: actions/github-script@v6
4141
with:
42-
github-token: ${{ secrets.GITHUB_TOKEN }}
42+
github-token: ${{ github.token }}
4343
script: |
4444
github.rest.repos.merge({
4545
owner: context.repo.owner,

.github/workflows/release-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
$RELEASE_TRACKER_URL/logProduction
127127
- name: Create Github release
128128
env:
129-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
129+
GITHUB_TOKEN: ${{ github.token }}
130130
run: |
131131
# Get the newest release tag for the firebase package (e.g. [email protected])
132132
NEWEST_TAG=$(git describe --tags --match "firebase@[0-9]*.[0-9]*.[0-9]*" --abbrev=0)

.github/workflows/release-staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
# TODO: Make these flags defaults in the release script.
7979
run: yarn release --releaseType Staging --ci --skipTests --skipReinstall --ignoreUnstaged
8080
env:
81-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
81+
GITHUB_TOKEN: ${{ github.token }}
8282
NPM_TOKEN_ANALYTICS: ${{secrets.NPM_TOKEN_ANALYTICS}}
8383
NPM_TOKEN_ANALYTICS_INTEROP_TYPES: ${{secrets.NPM_TOKEN_ANALYTICS_INTEROP_TYPES}}
8484
NPM_TOKEN_ANALYTICS_TYPES: ${{secrets.NPM_TOKEN_ANALYTICS_TYPES}}

.github/workflows/test-all.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
- name: Run coverage
102102
uses: coverallsapp/github-action@master
103103
with:
104-
github-token: ${{ secrets.GITHUB_TOKEN }}
104+
github-token: ${{ github.token }}
105105
path-to-lcov: ./lcov-all.info
106106
continue-on-error: true
107107

@@ -151,7 +151,7 @@ jobs:
151151
- name: Run coverage
152152
uses: coverallsapp/github-action@master
153153
with:
154-
github-token: ${{ secrets.GITHUB_TOKEN }}
154+
github-token: ${{ github.token }}
155155
path-to-lcov: ./lcov-all.info
156156
continue-on-error: true
157157

@@ -192,7 +192,7 @@ jobs:
192192
- name: Run coverage
193193
uses: coverallsapp/github-action@master
194194
with:
195-
github-token: ${{ secrets.GITHUB_TOKEN }}
195+
github-token: ${{ github.token }}
196196
path-to-lcov: ./lcov-all.info
197197
continue-on-error: true
198198
test-firestore-integration:

0 commit comments

Comments
 (0)