forked from RampNetwork/clicop
-
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.
chore: rename CliCop to Kanar #PLTM-233 (#1)
- Loading branch information
Showing
5 changed files
with
13 additions
and
11 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 |
---|---|---|
@@ -1,14 +1,15 @@ | ||
# CliCop | ||
![CliCop logo](clicop.png) | ||
# Kanar | ||
![Kanar logo](kanar.png) | ||
|
||
|
||
CliCop is an Github Actions action that enforces pinning ticket id reference in a PR.\ | ||
Kanar is an Github Actions action that enforces pinning ticket id reference in a PR.\ | ||
It will fail if there is no task id in PR title.\ | ||
It utilizes [DangerJS](https://danger.systems/js/) to perform the check. | ||
|
||
## Inputs | ||
github_token - Github authentification token. | ||
jira_token - Jira authentification token. | ||
jira_token_user - Email of Jira user the authentification token belongs to. | ||
|
||
## Testing | ||
The action conitains some unit tests. To run them: | ||
|
@@ -19,7 +20,7 @@ npm test | |
|
||
## Example usage | ||
```yaml | ||
name: CliCop | ||
name: Kanar | ||
|
||
on: | ||
pull_request: | ||
|
@@ -35,11 +36,12 @@ permissions: | |
statuses: write | ||
|
||
jobs: | ||
clicop: | ||
kanar: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: RampNetwork/github-actions/[email protected] | ||
- uses: RampNetwork/github-actions/kanar@v2 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} # this is passed automatically https://docs.github.com/en/actions/security-guides/automatic-token-authentication | ||
jira_token: ${{ secrets.JIRA_TOKEN }} | ||
jira_token_user: ${{ secrets.JIRA_TOKEN_USER }} | ||
``` |
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
File renamed without changes
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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