Conversation
f3a900b to
a59e0a5
Compare
8075fec to
eae0ae1
Compare
10b2eb4 to
5ad2f8b
Compare
|
Why dont we use https://github.com/actions/github-script instead? |
That might be possible, I can try |
Bleh, I think it would be kinda hacky. Since it is a reusable workflow, I don't think we can just import files from this repo like this: https://github.com/actions/github-script#run-a-separate-file So we would have to check out I don't want the entire script to be inline, since then we don't get any type checking / autocomplete / syntax highlighting / modules. |
| ``` | ||
|
|
||
| Lint and publish the spec to the developer portal in the CD workflow: | ||
| Lint, publish, and release the spec to the developer portal in the CD workflow. |
There was a problem hiding this comment.
Thinking this might be too much info for this README, refer to README-publish instead for these details?
I realize that the golden path include these details though ...
In that case, maybe have some short explanation of difference between "publish" and "relase" and link to README-publish?
There was a problem hiding this comment.
Yes, that was my reasoning. I can't explain why one would use publish.yml with release: false unless I also explain why you would use validate.yml. Since it documents how the different workflows work together, it makes sense to have it here. But yeah.
There was a problem hiding this comment.
I feel like it is pretty short already.
| artifact: myArtifactName | ||
| ``` | ||
|
|
||
| ## Publish without releasing |
There was a problem hiding this comment.
I think a practical example would be useful here, for users to understand what the use case is.
You are already using
We definitely dont want the whole thing inline. |
That's different. The action is referred to using the special syntax Additionally, I don't want to skip build entirely, since then we have to run But it does work! We need to do an extra checkout of gha-api, like this: if the script is in a directory here called I don't really see how this is much better than referring to an action, though. |
041c195 to
2595af2
Compare
|
I suppose https://github.com/actions/github-script could remove the current runtime dependencies, but theres no guarantee that we wont need other dependencies in the future. |
Yeah, except for |
9c185d2 to
1182988
Compare
1182988 to
81aef65
Compare
Legg til kommentar i PR-timeline med "lesbar" liste over endringer i API-specen. Kan styre hvilke endringer man vil se med input
show_changes(all/breaking/none). Gjerne sjekk om oppdateringene i README-filene faktisk er forståelige.Eksempel fra

api-spec-registry. Medshow_changes='breaking'Med

show_changes='all'