-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix publish template url for GHA action #46040
Conversation
Summary: The URL to dispatch the workflow was not correct, see [0]. ## Changelog: Internal [0] https://docs.github.com/en/rest/actions/workflows?apiVersion=2022-11-28#create-a-workflow-dispatch-event ## Internal: For S441191, see the job launched: - https://github.com/react-native-community/template/actions/runs/10404141179/job/28811993693 {F1806960111} Differential Revision: D61333084
This pull request was exported from Phabricator. Differential Revision: D61333084 |
@@ -201,10 +201,10 @@ jobs: | |||
VERSION=$(grep -oE '\d+\.\d+' <<< "${{ github.ref_name }}" | { read version; echo "$version-stable"; }) | |||
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT | |||
|
|||
curl -L -X POST https://api.github.com/repos/react-native-community/template/release.yaml/dispatches \ | |||
curl -L https://api.github.com/repos/react-native-community/template/actions/workflows/release.yaml/dispatches |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't it be safer to use the client library? https://github.com/octokit/plugin-rest-endpoint-methods.js
This pull request has been merged in 15c9961. |
This pull request was successfully merged by @blakef in 15c9961 When will my fix make it into a release? | How to file a pick request? |
Summary: Pull Request resolved: #46040 The URL to dispatch the workflow was not correct, see [0]. ## Changelog: [Internal] [0] https://docs.github.com/en/rest/actions/workflows?apiVersion=2022-11-28#create-a-workflow-dispatch-event ## Internal: For S441191, see the job launched: - https://github.com/react-native-community/template/actions/runs/10404141179/job/28811993693 {F1806960111} Reviewed By: cipolleschi Differential Revision: D61333084 fbshipit-source-id: 62b20d792b9c667b3ee80d6d446423a6d24a67c2
This pull request was successfully merged by @blakef in c22803a. When will my fix make it into a release? | How to file a pick request? |
Summary:
The URL to dispatch the workflow was not correct, see [0].
Changelog: [Internal]
[0] https://docs.github.com/en/rest/actions/workflows?apiVersion=2022-11-28#create-a-workflow-dispatch-event
Differential Revision: D61333084