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

Readme example has outdated "disable-autolabeler" #812

Closed
shadycuz opened this issue Mar 12, 2021 · 11 comments
Closed

Readme example has outdated "disable-autolabeler" #812

shadycuz opened this issue Mar 12, 2021 · 11 comments

Comments

@shadycuz
Copy link

Using the steps from the readme I got this in my workflow run:

Warning: Unexpected input(s) 'disable-autolabeler', valid inputs are ['config-name', 'name', 'tag', 'version', 'publish', 'prerelease', 'commitish']

@jetersen
Copy link
Member

More like action.yaml is outdated ;)

@shadycuz
Copy link
Author

@jetersen I'm using the example from the readme and it does not work

- uses: release-drafter/release-drafter@v5
        # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
        # with:
        #   config-name: my-config.yml
        #   disable-autolabeler: true
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

@jetersen
Copy link
Member

I am referring to this action.yml: https://github.com/release-drafter/release-drafter/blob/master/action.yml

@shadycuz
Copy link
Author

I also get the same warning on uses: release-drafter/release-drafter@v5.12.1 so idk.

@jetersen
Copy link
Member

Silly me it is not released yet 😅 #789

@shadycuz
Copy link
Author

Someone should update the readme example, It also failed because the example that is used further now for the config file is not valid with that version.

You can see the details here https://github.com/DontShaveTheYak/jenkins-std-lib/actions/runs/645378291

I'm closing this for now.

@jetersen
Copy link
Member

Wish I had admin rights to add secrets, so I could automate the release 😉 @toolmantim

@toolmantim
Copy link
Collaborator

@jetersen I just tweaked the permissions there. Give it another go?

@jetersen
Copy link
Member

jetersen commented Mar 17, 2021

@toolmantim No access to secrets 😅
But I managed to publish to marketplace 👏
image

@toolmantim
Copy link
Collaborator

@jetersen one more time! Give it another go.

@jetersen
Copy link
Member

Great 👏 @toolmantim

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

No branches or pull requests

3 participants