build(deps): bump MetaMask/action-is-release from dc4672b05e3b1d464cdaf783579b04a4e43f8b02 to 61ff8882da996cb68cdbc8583dc53956a1ffdd8b #1354
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: Dependabot Dedupe | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| dependabot-dedupe: | |
| runs-on: ubuntu-latest | |
| # Run this job only if it's Dependabot creating or updating the PR | |
| if: ${{ github.actor == 'dependabot[bot]' }} | |
| steps: | |
| - name: Check out repo | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.head_ref }} | |
| fetch-depth: 0 | |
| - name: Configure Git | |
| run: | | |
| git config user.name "GitHub Actions" | |
| git config user.email "[email protected]" | |
| - name: Set up Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20 | |
| - name: Install Yarn | |
| run: corepack enable | |
| - name: Restore Yarn cache | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20 | |
| cache: yarn | |
| - run: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 yarn --immutable | |
| - name: Run yarn dedupe | |
| run: | | |
| yarn dedupe | |
| git add yarn.lock | |
| if git diff --staged --quiet; then | |
| echo "No deduplication needed" | |
| else | |
| git commit -m "chore: dedupe yarn.lock" | |
| git push | |
| fi |