[Store][Postgres] Implement remove() method #2498
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: Run Examples | |
| on: | |
| # Using pull_request_target to access repository secrets for fork PRs | |
| pull_request_target: | |
| types: [labeled] | |
| #permissions: | |
| # pull-requests: write | |
| defaults: | |
| run: | |
| working-directory: examples | |
| jobs: | |
| run-examples: | |
| if: github.event.label.name == 'Run examples' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| with: | |
| # Checkout the PR head to test actual PR code (pull_request_target defaults to base branch) | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.2' | |
| - name: Install root dependencies | |
| uses: ramsey/composer-install@v3 | |
| with: | |
| working-directory: "." | |
| - name: Build packages | |
| working-directory: . | |
| run: php .github/build-packages.php | |
| - name: Install dependencies | |
| uses: ramsey/composer-install@v3 | |
| with: | |
| working-directory: "examples" | |
| - name: Run OpenAI examples | |
| id: run-examples | |
| run: ./runner openai | |
| env: | |
| OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
| # - name: Remove label | |
| # if: always() | |
| # uses: actions/github-script@v7 | |
| # with: | |
| # script: | | |
| # await github.rest.issues.removeLabel({ | |
| # owner: context.repo.owner, | |
| # repo: context.repo.repo, | |
| # issue_number: context.issue.number, | |
| # name: 'Run examples' | |
| # }); |