From 8058bb67c45f8550ddbbf2a44d8ae08eac5ab2bc Mon Sep 17 00:00:00 2001 From: Brian Henry Date: Mon, 2 Oct 2023 12:44:20 -0700 Subject: [PATCH] Exclude dist-archive-command from `testing.yml` sync --- .github/workflows/sync-workflows.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync-workflows.yml b/.github/workflows/sync-workflows.yml index 2fef420..e407baa 100644 --- a/.github/workflows/sync-workflows.yml +++ b/.github/workflows/sync-workflows.yml @@ -33,7 +33,6 @@ jobs: wp-cli/core-command wp-cli/cron-command wp-cli/db-command - wp-cli/dist-archive-command wp-cli/doctor-command wp-cli/embed-command wp-cli/entity-command @@ -68,6 +67,19 @@ jobs: wp-cli/wp-super-cache-cli GITHUB_TOKEN: ${{ secrets.ACTIONS_BOT }} + # Where repos call `reusable-testing.yml` with PHP versions specified, we do not want to overwrite `testing.yml`. + - name: Sync files except `testing.yml` + uses: adrianjost/files-sync-action@v2.0.4 + with: + FILE_PATTERNS: | + ^.actrc + ^.editorconfig + ^.github/workflows/code-quality.yml + ^.github/workflows/regenerate-readme.yml + TARGET_REPOS: | + wp-cli/dist-archive-command + GITHUB_TOKEN: ${{ secrets.ACTIONS_BOT }} + sync-dependabot: #------------------------------------------------------------ name: Sync Dependabot configuration runs-on: ubuntu-latest