Merge pull request #758 from pedro-mendonca/dependabot/github_actions… #174
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: Plugin Asset/Readme Update | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| # Any change on the WordPress.org plugin repository-specific assets that belong in the top-level assets directory. | |
| - '.wordpress-org/**' | |
| # The readme.txt. | |
| - 'readme.txt' | |
| # Changes to workflow files should always verify all workflows are successful. | |
| - '.github/workflows/*.yml' | |
| # Allows you to run this workflow manually from the Actions tab. | |
| workflow_dispatch: | |
| jobs: | |
| trunk: | |
| name: Push to trunk | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: WordPress.org Plugin Readme/Assets Update | |
| uses: 10up/action-wordpress-plugin-asset-update@2.2.0 | |
| env: | |
| SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} | |
| SVN_USERNAME: ${{ secrets.SVN_USERNAME }} | |
| SLUG: translation-stats | |
| IGNORE_OTHER_FILES: true |