Sync GitHub Actions workflows #128996
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: Sync GitHub Actions workflows | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- master | |
schedule: | |
- cron: '*/10 * * * *' # Run every 10 minutes. | |
jobs: | |
sync-workflows: #------------------------------------------------------------- | |
name: Sync GitHub Actions workflows | |
runs-on: ubuntu-latest | |
if: ${{ github.repository_owner == 'wp-cli' }} | |
steps: | |
- name: Sync files | |
uses: adrianjost/[email protected] | |
with: | |
FILE_PATTERNS: | | |
^.actrc | |
^.editorconfig | |
^.github/workflows/code-quality.yml | |
^.github/workflows/regenerate-readme.yml | |
TARGET_REPOS: | | |
wp-cli/admin-command | |
wp-cli/cache-command | |
wp-cli/checksum-command | |
wp-cli/config-command | |
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 | |
wp-cli/eval-command | |
wp-cli/export-command | |
wp-cli/extension-command | |
wp-cli/find-command | |
wp-cli/i18n-command | |
wp-cli/import-command | |
wp-cli/language-command | |
wp-cli/maintenance-mode-command | |
wp-cli/media-command | |
wp-cli/package-command | |
wp-cli/php-cli-tools | |
wp-cli/profile-command | |
wp-cli/restful | |
wp-cli/rewrite-command | |
wp-cli/role-command | |
wp-cli/scaffold-command | |
wp-cli/scaffold-package-command | |
wp-cli/search-replace-command | |
wp-cli/server-command | |
wp-cli/shell-command | |
wp-cli/super-admin-command | |
wp-cli/widget-command | |
wp-cli/wp-cli | |
wp-cli/wp-cli-bundle | |
wp-cli/wp-cli-dev | |
wp-cli/wp-cli-tests | |
wp-cli/wp-cli.github.com | |
wp-cli/wp-config-transformer | |
wp-cli/wp-super-cache-cli | |
GITHUB_TOKEN: ${{ secrets.ACTIONS_BOT }} | |
sync-dependabot: #------------------------------------------------------------ | |
name: Sync Dependabot configuration | |
runs-on: ubuntu-latest | |
if: ${{ github.repository_owner == 'wp-cli' }} | |
steps: | |
- name: Sync files | |
uses: adrianjost/[email protected] | |
with: | |
FILE_PATTERNS: | | |
^.github/dependabot.yml | |
TARGET_REPOS: | | |
wp-cli/admin-command | |
wp-cli/cache-command | |
wp-cli/checksum-command | |
wp-cli/config-command | |
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 | |
wp-cli/eval-command | |
wp-cli/export-command | |
wp-cli/extension-command | |
wp-cli/find-command | |
wp-cli/google-sitemap-generator-cli | |
wp-cli/i18n-command | |
wp-cli/import-command | |
wp-cli/language-command | |
wp-cli/maintenance-mode-command | |
wp-cli/media-command | |
wp-cli/package-command | |
wp-cli/php-cli-tools | |
wp-cli/profile-command | |
wp-cli/regenerate-readme | |
wp-cli/restful | |
wp-cli/rewrite-command | |
wp-cli/role-command | |
wp-cli/scaffold-command | |
wp-cli/scaffold-package-command | |
wp-cli/search-replace-command | |
wp-cli/server-command | |
wp-cli/shell-command | |
wp-cli/super-admin-command | |
wp-cli/widget-command | |
wp-cli/wp-cli | |
wp-cli/wp-cli-bundle | |
wp-cli/wp-cli-dev | |
wp-cli/wp-cli-tests | |
wp-cli/wp-config-transformer | |
wp-cli/wp-super-cache-cli | |
GITHUB_TOKEN: ${{ secrets.ACTIONS_BOT }} |