Add Usage Tracking feature with OpenAI support #782
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: WordPress Plugin Checks | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| - trunk | |
| pull_request: | |
| branches: | |
| - develop | |
| jobs: | |
| build: | |
| uses: 10up/classifai/.github/workflows/build-release-zip.yml@develop | |
| test: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Download built zip | |
| uses: actions/download-artifact@b14cf4c92620c250e1c074ab0a5800e37df86765 # v4.2.0 | |
| with: | |
| name: ${{ github.event.repository.name }} | |
| path: ${{ github.event.repository.name }} | |
| - name: Display structure of downloaded files | |
| run: ls -R | |
| working-directory: ${{ github.event.repository.name }} | |
| - name: Run plugin check | |
| uses: wordpress/plugin-check-action@6f5a57e173c065a394b78688f75df543e4011902 # v1.1.5 | |
| with: | |
| build-dir: ${{ github.event.repository.name }} | |
| exclude-checks: 'plugin_readme,plugin_updater' # Plugin isn't on .org so excluding these for now. | |
| exclude-directories: 'assets,dist,vendor' | |
| ignore-codes: 'PluginCheck.CodeAnalysis.DiscouragedFunctions.load_plugin_textdomainFound' # Plugin isn't on .org so we load the textdomain manually. | |
| ignore-warnings: true |