feat(elasticsearch-plugin): index and search per-currency variant prices #37
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: "CLA Assistant" | |
| on: | |
| issue_comment: | |
| types: [created] | |
| pull_request_target: | |
| types: [opened,closed,synchronize] | |
| # explicitly configure permissions, in case your GITHUB_TOKEN workflow permissions are set to read-only in repository settings | |
| permissions: | |
| actions: write | |
| contents: write # this can be 'read' if the signatures are in remote repository | |
| pull-requests: write | |
| statuses: write | |
| jobs: | |
| CLAAssistant: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Mint a GitHub App token that can read/write to BOTH this repo (for PR | |
| # comments and locking) AND the main vendure repo (where the canonical | |
| # signatures file lives). This way contributors only ever have to sign | |
| # the CLA once across all Vendure open-source projects. | |
| - name: Generate CI Bot Token | |
| id: app-token | |
| uses: actions/create-github-app-token@v2 | |
| with: | |
| app-id: ${{ secrets.CI_BOT_APP_ID }} | |
| private-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }} | |
| owner: vendurehq | |
| repositories: | | |
| community-plugins | |
| vendure | |
| # Third-party actions are pinned to commit SHAs to prevent supply chain attacks | |
| # via mutable version tags. See https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions#using-third-party-actions | |
| - name: "CLA Assistant" | |
| if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' | |
| uses: contributor-assistant/github-action@9340315624c6e16cef1f2c63bdeb0f0c49c6f474 # v2.4.0 | |
| env: | |
| GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} | |
| # When `remote-organization-name`/`remote-repository-name` are set, the action uses | |
| # PERSONAL_ACCESS_TOKEN (not GITHUB_TOKEN) for the remote read/write of the signatures file. | |
| PERSONAL_ACCESS_TOKEN: ${{ steps.app-token.outputs.token }} | |
| with: | |
| path-to-signatures: 'license/signatures/version1/cla.json' | |
| path-to-document: 'https://github.com/vendurehq/vendure/blob/master/license/CLA.md' | |
| # `branch` here refers to the branch of the REMOTE repo where signatures are stored. | |
| branch: 'master' | |
| remote-organization-name: vendurehq | |
| remote-repository-name: vendure | |
| allowlist: user1,bot* |