make the config argument for the createIndex optional #483
Workflow file for this run
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: auto-merge | |
on: | |
pull_request_target | |
jobs: | |
auto-merge: | |
runs-on: ubuntu-latest | |
if: ${{ github.actor == 'dependabot[bot]' }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get Token | |
id: get_workflow_token | |
uses: peter-murray/workflow-application-token-action@v2 | |
with: | |
application_id: ${{ secrets.CC_OSS_BOT_ID }} | |
application_private_key: ${{ secrets.CC_OSS_BOT_PEM }} | |
- uses: fastify/github-action-merge-dependabot@v3 | |
with: | |
github-token: ${{ steps.get_workflow_token.outputs.token }} | |
target: minor | |
approve-only: true | |
- name: Enable auto-merge for Dependabot PR | |
run: gh pr merge --auto --merge "$PR_URL" | |
env: | |
PR_URL: ${{ github.event.pull_request.html_url }} | |
GITHUB_TOKEN: ${{ steps.get_workflow_token.outputs.token }} |