This PR addresses the issue by adding a check for required environment variables in both .github/workflows/openhands-resolver.yml and .github/workflows/openhands-resolver-experimental.yml files. A new step called 'Check required environment variables' has been added to both workflow files. This step verifies the presence of GITHUB_TOKEN, LLM_MODEL, LLM_API_KEY, LLM_BASE_URL, PAT_TOKEN, and PAT_USERNAME environment variables. If any of these variables are not set, the workflow will fail immediately with an error message. This ensures that all necessary environment variables are properly configured before proceeding with any additional workflow steps, thus resolving the issue as described.
This pull request fixes #146.
This PR addresses the issue by adding a check for required environment variables in both
.github/workflows/openhands-resolver.yml
and.github/workflows/openhands-resolver-experimental.yml
files. A new step called 'Check required environment variables' has been added to both workflow files. This step verifies the presence of GITHUB_TOKEN, LLM_MODEL, LLM_API_KEY, LLM_BASE_URL, PAT_TOKEN, and PAT_USERNAME environment variables. If any of these variables are not set, the workflow will fail immediately with an error message. This ensures that all necessary environment variables are properly configured before proceeding with any additional workflow steps, thus resolving the issue as described.Automatic fix generated by OpenHands 🙌