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

github/labeler: disable sync-labels #38158

Merged
merged 1 commit into from
Nov 19, 2020

Conversation

epuertat
Copy link
Member

@epuertat epuertat commented Nov 18, 2020

Yaml syntax cleaned too.

From wesnoth/wesnoth@958c82d

Fixes: #38107 (comment)
Signed-off-by: Ernesto Puerta epuertat@redhat.com

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

@epuertat epuertat self-assigned this Nov 18, 2020
@github-actions github-actions bot added the CI Continuous Integration label Nov 18, 2020
Yaml syntax cleaned too.

Fixes: ceph#38107 (comment)
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- uses: actions/labeler@main
with:
sync-labels: ''
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tchaikov after checking that code, my bet is that the defaults from the action.yml are somehow injected in the environment, and that's why the empty string doesn't work:

> !!'false'
true

> !!''
false

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@neha-ojha neha-ojha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @epuertat

@epuertat
Copy link
Member Author

I created this PR to see if we can get this fixed: actions/labeler#113

@epuertat epuertat merged commit dc42564 into ceph:master Nov 19, 2020
@epuertat epuertat deleted the fix-labeler-master branch November 19, 2020 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration
Projects
None yet
4 participants