[core] Reset permissions for codspeed GitHub Action (#14420) #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update missing translations | |
on: | |
push: | |
branches: | |
- master | |
- next | |
permissions: {} | |
jobs: | |
# Tests dev-only scripts across all supported dev environments | |
update-l10n: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
issues: write | |
steps: | |
- run: echo "${{ github.actor }}" | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 | |
with: | |
run_install: false | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | |
with: | |
node-version: 20 | |
cache: 'pnpm' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies | |
- run: pnpm install --frozen-lockfile | |
- name: pnpm l10n --report | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
git remote -v | |
pnpm l10n --report |