opensourcecobol / opensourcecobol4j

A new version of opensourcecobol. Translate COBOL to Java.
https://opensourcecobol.github.io/opensourcecobol4j/
GNU General Public License v3.0
74 stars 34 forks source link

Do not run update-github-pages.yml in forked repositories #522

Closed yutaro-sakamoto closed 3 weeks ago

yutaro-sakamoto commented 3 weeks ago

It is not necessary to run update-github-pages.yml of forked repositories since the purpose of the workflow is publishing official documents of opensource COBOL 4J. We should modify update-github-pages.yml in order to run the workflow only if its repository is opensourcecobol/opensourcecobol4j.

tsh-hashimoto commented 3 weeks ago

Thanks for assigning me (and publishing this issue).

It seems to be able to solve this problem to apply the method described on the following page. https://docs.github.com/ja/actions/writing-workflows/choosing-when-your-workflow-runs/using-conditions-to-control-job-execution

I try this.