Repository navigation
feat(bundler-plugins): Enable hidden source maps and remove them after upload in the Vite plugin #7250
Workflow file for this run
This file contains hidden or 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: 'CI: Mention external contributors' | ||
|
Check warning on line 1 in .github/workflows/external-contributors.yml
|
||
| on: | ||
| pull_request_target: | ||
| types: | ||
| - closed | ||
| branches: | ||
| - develop | ||
| jobs: | ||
| external_contributor: | ||
| name: External Contributors | ||
| permissions: | ||
| pull-requests: write | ||
| contents: write | ||
| runs-on: ubuntu-24.04 | ||
| if: | | ||
| github.event.pull_request.merged == true | ||
| && github.event.pull_request.author_association != 'COLLABORATOR' | ||
| && github.event.pull_request.author_association != 'MEMBER' | ||
| && github.event.pull_request.author_association != 'OWNER' | ||
| && endsWith(github.event.pull_request.user.login, '[bot]') == false | ||
| steps: | ||
| - uses: actions/checkout@v7 | ||
| with: | ||
| ref: develop | ||
| - name: Set up Node | ||
| uses: actions/setup-node@v7 | ||
| with: | ||
| node-version-file: 'package.json' | ||
| - name: Install pnpm | ||
| uses: ./.github/actions/install-pnpm | ||
| - name: Install dependencies | ||
| run: pnpm install --frozen-lockfile | ||
| - name: Add external contributor to CHANGELOG.md | ||
| uses: ./dev-packages/external-contributor-gh-action | ||
| with: | ||
| name: ${{ github.event.pull_request.user.login }} | ||
| author_association: ${{ github.event.pull_request.author_association }} | ||
| - name: Generate GitHub App token | ||
| id: app-token | ||
| uses: actions/create-github-app-token@v3 | ||
| with: | ||
| client-id: ${{ vars.GITFLOW_APP_ID }} | ||
| private-key: ${{ secrets.GITFLOW_APP_PRIVATE_KEY }} | ||
| - name: Create PR with changes | ||
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 | ||
| with: | ||
| token: ${{ steps.app-token.outputs.token }} | ||
| commit-message: 'chore: Add external contributor to CHANGELOG.md' | ||
| title: 'chore: Add external contributor to CHANGELOG.md' | ||
| branch: 'external-contributor/patch-${{ github.event.pull_request.user.login }}' | ||
| base: 'develop' | ||
| delete-branch: true | ||
| body: | ||
| 'This PR adds the external contributor to the CHANGELOG.md file, so that they are credited for their | ||
| contribution. See #${{ github.event.pull_request.number }}' | ||