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

Compare string value true #4

Merged
merged 1 commit into from
Jan 6, 2024
Merged

Compare string value true #4

merged 1 commit into from
Jan 6, 2024

Conversation

jgarber623
Copy link
Contributor

GitHub Actions booleans aren't… really… booleans.

See: actions/runner#1483

I tripped on this here with a configuration like:

- uses: rubygems/release-gem@v1
  with:
    await-release: false

This configuration is valid, but is ignored owing to the current configuration. This proposed change should address that.

The proposed change is consistent with behavior in other reusable actions (see ruby/setup-ruby, for instance).

GitHub Actions booleans aren't… really… booleans.

See: actions/runner#1483

I tripped on this [here](https://github.com/jgarber623/sprockets-sass_embedded/actions/runs/7361651564/job/20039226386) with a configuration like:

```yaml
- uses: rubygems/release-gem@v1
  with:
    await-release: false
```

This configuration is valid, but is ignored owing to the current configuration. This proposed change _should_ address that.

The proposed change is consistent with behavior in other reusable actions (see [ruby/setup-ruby](https://github.com/ruby/setup-ruby), for instance).
@ccutrer ccutrer mentioned this pull request Jan 6, 2024
@segiddins segiddins merged commit aa5bde7 into rubygems:v1 Jan 6, 2024
@jgarber623 jgarber623 deleted the patch-1 branch January 6, 2024 18:20
@jgarber623
Copy link
Contributor Author

Thanks for the merge, @segiddins!

@jgarber623
Copy link
Contributor Author

Posting here to confirm that this change did what we hoped it would do! A workflow file using this step:

- uses: rubygems/release-gem@v1
  with:
    await-release: false

…successfully skipped the gem exec command (see logs).

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