diff --git a/.github/workflows/rebuild-dist.yml b/.github/workflows/rebuild-dist.yml deleted file mode 100644 index 13fb8e7b1..000000000 --- a/.github/workflows/rebuild-dist.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Rebuild Action after Renovate PR -# cypress-io/github-action runs from the dist/ directory -# After Renovate has created a PR that updates dependencies, -# the built action in dist/ will be out of date. -# This workflow ensures that the contents of this directory -# are in sync with the source files by using -# npm run build which in turn calls ncc build to rebuild -# the dist/ directory -on: - pull_request: - branches: - - 'master' - -jobs: - rebuild-dist: - if: startsWith(github.head_ref, 'renovate/') - runs-on: ubuntu-24.04 - permissions: - contents: write - - steps: - - name: Checkout - uses: actions/checkout@v6 # https://github.com/actions/checkout - with: - ref: ${{ github.head_ref }} - - name: Setup Node - uses: actions/setup-node@v4 # https://github.com/actions/setup-node - with: - # Action runs: using: node20 as defined in - # https://github.com/cypress-io/github-action/blob/master/action.yml - # Node.js minor version is aligned to - # https://github.com/actions/runner/blob/main/src/Misc/externals.sh - node-version: 20.19.5 - - run: npm ci - - run: npm run format - - run: npm run build - - - uses: stefanzweifel/git-auto-commit-action@v7 # https://github.com/stefanzweifel/git-auto-commit-action - with: - commit_message: 'chore: rebuild action after dependency update' - file_pattern: 'dist/*' diff --git a/renovate.json b/renovate.json index 3b33b0ec2..5f51c2dc5 100644 --- a/renovate.json +++ b/renovate.json @@ -16,5 +16,11 @@ "timezone": "America/New_York", "schedule": [ "every weekend" + ], + "packageRules": [ + { + "matchDepTypes": ["dependencies"], + "enabled": false + } ] }