smithy-lang / smithy-language-server

A Language Server Protocol implementation for the Smithy IDL
https://smithy.io
Apache License 2.0
33 stars 18 forks source link

Prevent the automated workflow from running in fork #135

Closed daddykotex closed 7 months ago

daddykotex commented 7 months ago

Issue #, if available:

No issue available, but when forking this workflow we end up with a scheduled workflow that runs but w/o the token.

Description of changes:

Make the job conditional on whether or not it is executing from this repository.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

kstich commented 7 months ago

Action run failed here, pointing at the string contents. It looks like the GH docs use single quotes (') instead of doubles ("),