'Automatizing GitHub workflow that involves 3rd party repo
I have a GitHub repo myRepo that scans the contents of another repo theirRepo and converts them to JSON files. The details aren't really that important, just so much that myRepo uses nodeJS and holds theirRepo as a submodule. Licensewise this is not a problem.
What I'd like to achieve is that, when theirRepo merges into main, myRepo magically updates and builds the new files. I'd like to use existing infrastructures such as GitHub actions, Netlify build processes etc.
How would you approach this?
I don't expect a detailed solution for the magical part, but am rather looking for a few pointers, something that gets me started.
Solution 1:[1]
Please refer to the following code being working as expected on Mac OS machine as,
public void launchBrowser() {
System.setProperty("webdriver.chrome.driver", System.getProperty("user.home") + "/Documents/chromedriver");
WebDriver driver = (WebDriver) new ChromeDriver();
driver.get("https://www.google.com/");
driver.manage().window().maximize();
driver.close();
driver.quit();
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Bipin Kumar Chaurasia |
