-
-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
Following examples from github skills, if the if
condition in the setup.yml
workflow is changed from looking at repository name to looking if the repository is a template repository, then this approach will be a bit more portable for others who may want to re-use it.
That is - this line:
if: ${{ github.repository != 'simonw/python-lib-template-repository' }} |
could be updated to
if: ${{ !github.event.repository.is_template }}
thus removing the hard-coded owner name and repository name.
Metadata
Metadata
Assignees
Labels
No labels