diff --git a/.github/workflows/merge-release-branch.yml b/.github/workflows/merge-release-branch.yml index 06f4f15a119..5f7d1d917c7 100644 --- a/.github/workflows/merge-release-branch.yml +++ b/.github/workflows/merge-release-branch.yml @@ -39,7 +39,7 @@ jobs: - name: Merge to master uses: actions/github-script@v6 with: - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ github.token }} script: | github.rest.repos.merge({ owner: context.repo.owner, diff --git a/.github/workflows/release-prod.yml b/.github/workflows/release-prod.yml index d0c3de16859..d81470f343b 100644 --- a/.github/workflows/release-prod.yml +++ b/.github/workflows/release-prod.yml @@ -126,7 +126,7 @@ jobs: $RELEASE_TRACKER_URL/logProduction - name: Create Github release env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ github.token }} run: | # Get the newest release tag for the firebase package (e.g. firebase@10.12.0) NEWEST_TAG=$(git describe --tags --match "firebase@[0-9]*.[0-9]*.[0-9]*" --abbrev=0) diff --git a/.github/workflows/release-staging.yml b/.github/workflows/release-staging.yml index 32eca1f036d..1ef19146117 100644 --- a/.github/workflows/release-staging.yml +++ b/.github/workflows/release-staging.yml @@ -78,7 +78,7 @@ jobs: # TODO: Make these flags defaults in the release script. run: yarn release --releaseType Staging --ci --skipTests --skipReinstall --ignoreUnstaged env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ github.token }} NPM_TOKEN_ANALYTICS: ${{secrets.NPM_TOKEN_ANALYTICS}} NPM_TOKEN_ANALYTICS_INTEROP_TYPES: ${{secrets.NPM_TOKEN_ANALYTICS_INTEROP_TYPES}} NPM_TOKEN_ANALYTICS_TYPES: ${{secrets.NPM_TOKEN_ANALYTICS_TYPES}} diff --git a/.github/workflows/test-all.yml b/.github/workflows/test-all.yml index 2264ab233fd..c508df27dbc 100644 --- a/.github/workflows/test-all.yml +++ b/.github/workflows/test-all.yml @@ -101,7 +101,7 @@ jobs: - name: Run coverage uses: coverallsapp/github-action@master with: - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ github.token }} path-to-lcov: ./lcov-all.info continue-on-error: true @@ -151,7 +151,7 @@ jobs: - name: Run coverage uses: coverallsapp/github-action@master with: - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ github.token }} path-to-lcov: ./lcov-all.info continue-on-error: true @@ -192,7 +192,7 @@ jobs: - name: Run coverage uses: coverallsapp/github-action@master with: - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ github.token }} path-to-lcov: ./lcov-all.info continue-on-error: true test-firestore-integration: