Unable to publish GitHub action to GitHub marketplace

I have just created a GitHub action at https://github.com/localheinz/composer-require-checker-action, but it appears that I am unable to publish it to the GitHiub marketplace.

As you can see below, a Draft a release button is present, inviting me to publish the action:

When I click on the Draft a release button, I’m taken to https://github.com/localheinz/composer-require-checker-action/releases/new?marketplace=true, where I can see the following screen:

There, however, is no possibility to actually publish the action.

What am I doing wrong?

You didn’t specifie a tag/version for your docker image. And otherwise you maybe have to use Dockerfile instead since it’s local anyway

Hi @localheinz ,

There are several notes need you pay attention to, actions are published to GitHub Marketplace immediately and aren’t reviewed by GitHub as long as they meet these requirements:

  • The action must be in a public repository.

  • Each repository must contain a single action.

  • The action.yml metadata file must be in the root directory of the repository.

  • The name in the action’s metadata file must be unique.

    • The name cannot match an existing action name published on GitHub Marketplace.
    • The name cannot match a user or organization on GitHub, unless the user or organization owner is publishing the action. For example, only the GitHub organization can publish an action named github.
    • The name cannot match an existing GitHub Marketplace category.
    • GitHub reserves the names of GitHub features.

I checked your repository, and the action can meet the first three requirements. So I think the problem is caused by the action name that may not meet the requirements. Please try to change the action name to other to see if the problem can be solved.

More details about publishing actions, please reference here: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/publishing-actions-in-github-marketplace#about-publishing-actions

@brightran wrote:

Hi @localheinz ,

 

There are several notes need you pay attention to, actions are published to GitHub Marketplace immediately and aren’t reviewed by GitHub as long as they meet these requirements:

  • The action must be in a public repository.
  • Each repository must contain a single action.
  • The action.yml metadata file must be in the root directory of the repository.
  • The name in the action’s metadata file must be unique.
  • The name cannot match an existing action name published on GitHub Marketplace.
  • The name cannot match a user or organization on GitHub, unless the user or organization owner is publishing the action. For example, only the GitHub organization can publish an action named github.
  • The name cannot match an existing GitHub Marketplace category.
  • GitHub reserves the names of GitHub features.

I checked your repository, and the action can meet the first three requirements. So I think the problem is caused by the action name that may not meet the requirements. Please try to change the action name to other to see if the problem can be solved.

More details about publishing actions, please reference here: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/publishing-actions-in-github-marketplace#about-publishing-actions

Can you clarify what is meant by cannot match?

Or, maybe even better, tells us when we try to release an action into the market

2 Likes