For development, each contributor has to change that URL with a tunnel service (for instance, ngrok) to be able to contribute in the GitHub App.
A solution to this problem is to setup this constant as an environmental variable in the .env file for development and in the workflow file for the working branch of OpenSearch-Dashboard for the changelog project pass the deployment URL as a parameter.
The setup for the GITHUB_APP_DOMAIN should be finally as follows:
# Other code...
with:
token: ${{secrets.GITHUB_TOKEN}}
github_app_domain: 'https://open-search-changeset-bot.vercel.app'
changeset_path: changelogs/fragments
And in the .env variable for the Reusable Workflow for OpenSearch_Parse_Changelog_Action, adding the tunnel domain for working in dev mode with the Github App
Currently the workflow has the URL for the Github Domain fixed to the deployment domain as follows:
For development, each contributor has to change that URL with a tunnel service (for instance, ngrok) to be able to contribute in the GitHub App.
A solution to this problem is to setup this constant as an environmental variable in the
.env
file for development and in the workflow file for the working branch of OpenSearch-Dashboard for the changelog project pass the deployment URL as a parameter.The setup for the GITHUB_APP_DOMAIN should be finally as follows:
With the workflow file parse_changelog_workflow.yml passing an input as follows:
And in the
.env
variable for the Reusable Workflow for OpenSearch_Parse_Changelog_Action, adding the tunnel domain for working in dev mode with the Github App