Skip to content
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

Closed
wants to merge 1 commit into from

Conversation

blakef
Copy link
Contributor

@blakef blakef commented Aug 15, 2024

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

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
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Aug 15, 2024
@facebook-github-bot
Copy link
Contributor

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
Copy link
Collaborator

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

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Aug 15, 2024
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 15c9961.

@react-native-bot
Copy link
Collaborator

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?

blakef added a commit that referenced this pull request Aug 19, 2024
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
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants