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

feat: add 'command' and 'command_args' options #176

Merged
merged 2 commits into from
Jun 16, 2023

Conversation

andrii-bodnar
Copy link
Member

@andrii-bodnar andrii-bodnar commented Jun 15, 2023

  • the command and command_args options allow any CLI command to be executed with any arguments
  • deprecate the branch options in favor of the new command options
  • add the test-action.yml GitHub workflow to test the Action
  • refine Readme
  • improve Examples
  • enforce conventional commits specification

@andrii-bodnar andrii-bodnar marked this pull request as draft June 15, 2023 14:57
@andrii-bodnar andrii-bodnar force-pushed the feat/command-options branch 5 times, most recently from 271e854 to 6b09faf Compare June 15, 2023 15:11
@andrii-bodnar andrii-bodnar marked this pull request as ready for review June 15, 2023 15:12
@andrii-bodnar andrii-bodnar force-pushed the feat/command-options branch 5 times, most recently from d19b7bd to 441e3e2 Compare June 16, 2023 07:49
@andrii-bodnar andrii-bodnar force-pushed the feat/command-options branch from bbd6a73 to 60be17d Compare June 16, 2023 08:18
@andrii-bodnar andrii-bodnar merged commit ee4ab4e into master Jun 16, 2023
@andrii-bodnar andrii-bodnar deleted the feat/command-options branch June 16, 2023 09:28
kodiakhq bot referenced this pull request in weareinreach/InReach Jun 20, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [chromaui/action](https://togithub.com/chromaui/action) | action | digest | `b60a089` -> `422cd01` |
| [crowdin/github-action](https://togithub.com/crowdin/github-action) | action | minor | `v1.10.0` -> `v1.11.0` |
| [mheap/github-action-required-labels](https://togithub.com/mheap/github-action-required-labels) | action | digest | `8c23b2a` -> `4e9ef4c` |

---

### Release Notes

<details>
<summary>crowdin/github-action</summary>

### [`v1.11.0`](https://togithub.com/crowdin/github-action/releases/tag/v1.11.0)

[Compare Source](https://togithub.com/crowdin/github-action/compare/v1.10.0...v1.11.0)

#### What's Changed

-   add `command` and `command_args` options. See the [Crowdin CLI command](https://togithub.com/crowdin/github-action#crowdin-cli-command) section for more details.
-   add the `test-action.yml` GitHub workflow to test the Action
-   refine Readme
-   improve Examples
-   enforce conventional commits specification

##### Deprecation warning ⚠️

The `add_crowdin_branch`, `new_branch_title`, `new_branch_export_pattern`, `new_branch_priority`, and `delete_crowdin_branch` options were **deprecated**. Please use the new `command` and `command_args` options instead:

```yaml
- name: Crowdin Action
  uses: crowdin/github-action@v1
  with:
    command: 'branch add'
    command_args: '--title "title" --priority "HIGH" --export-pattern "pattern"'
```

***

By [@&#8203;andrii-bodnar](https://togithub.com/andrii-bodnar) in [https://github.com/crowdin/github-action/pull/176](https://togithub.com/crowdin/github-action/pull/176)

**Full Changelog**: crowdin/github-action@v1.10.0...v1.11.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/weareinreach/InReach).



PR-URL: #611
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Joe Karow <[email protected]>
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.

1 participant