Skip to content

Allow overriding the command passed to Expo#287

Open
lawrencejones wants to merge 1 commit intoexpo:mainfrom
incident-io:lawrence-command-allow-override
Open

Allow overriding the command passed to Expo#287
lawrencejones wants to merge 1 commit intoexpo:mainfrom
incident-io:lawrence-command-allow-override

Conversation

@lawrencejones
Copy link
Copy Markdown

You may want to call into the command action using a provided command string rather than what comes from the GitHub Action.

This is useful if you want to write an action that listens for a specific shortcut (e.g. #release production) which then calls the expo/eas command supported by the official action. Then you benefit from the nice shortcut, remove the possibility of misconfiguration, while keeping the official GHA's behaviour like posting builds back to the PR or responding to the original comment.

Linked issue

Provide the issue(s) which this pull request relates to or fixes.

Additional context

Are there things the maintainers should be aware of before merging or closing this pull request?

@lawrencejones lawrencejones force-pushed the lawrence-command-allow-override branch from 8e802bf to 0aea399 Compare June 4, 2024 14:44
You may want to call into the command action using a provided command
string rather than what comes from the GitHub Action.

This is useful if you want to write an action that listens for a
specific shortcut (e.g. `#release production`) which then calls the
expo/eas command supported by the official action. Then you benefit from
the nice shortcut, remove the possibility of misconfiguration, while
keeping the official GHA's behaviour like posting builds back to the PR
or responding to the original comment.
@lawrencejones lawrencejones force-pushed the lawrence-command-allow-override branch from 0aea399 to 2866f4b Compare June 4, 2024 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants