forked from singingwolfboy/create-linked-clubhouse-story
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add only-users functionality (singingwolfboy#6)
* feat: added only-users list Adding only-users list that allows us to set the list of users to create an automated Clubhouse story for. For example for dependabot PRs for which we want to track in our sprint cycles.
- Loading branch information
Showing
6 changed files
with
178 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -120,9 +120,9 @@ and examine the API response to find the `id` for each user. | |
Note that Clubhouse makes a distinction between a `User` and a `Member`: | ||
you need to look up the UUID for the `Member` object. | ||
|
||
## Ignore Users | ||
## Ignored Users | ||
|
||
You can also add a list of GitHub users to ignore for this integration. | ||
You can also add a list of GitHub users to ignore for this integration by using the `ignored-users` input. | ||
Multiple users should be separated by commas. | ||
|
||
```yaml | ||
|
@@ -133,3 +133,17 @@ Multiple users should be separated by commas. | |
project-name: Engineering | ||
ignored-users: hubot, dependabot | ||
``` | ||
|
||
## Only Users | ||
|
||
You can also add a list of GitHub `only-users` for this integration. This works opposite of the ignored users list above. For example, if you wanted only PRs from a specific GitHub user such as dependabot PRs. | ||
Multiple users should be separated by commas. | ||
|
||
```yaml | ||
- uses: singingwolfboy/[email protected] | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
clubhouse-token: ${{ secrets.CLUBHOUSE_TOKEN }} | ||
project-name: Engineering | ||
only-users: dependabot | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters