Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
run-tests:
runs-on: ubuntu-latest
env:
GO_VERSION: "~1.23"
GO_VERSION: "~1.25"
GO111MODULE: "on"
USE_CODECOV: true

Expand Down
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,19 +140,20 @@ The `branch:recent` command can be run with the `--jira` flag to refine the orde
### Configuration

1. **Create an API token**
- Visit <https://id.atlassian.com/manage-profile/security/api-tokens>.
- Visit [Atlassian API Tokens](https://id.atlassian.com/manage-profile/security/api-tokens).
- Click **Create API token** and copy the generated value.

```bash
# Recommended: Use a secure credential manager or encrypted .env file
# Store these credentials in an encrypted .env file, not in your shell profile
export JIRA_API_TOKEN="your-token"
export JIRA_SUBDOMAIN="acme" # for
export JIRA_EMAIL_ADDRESS="you@example.com"
export JIRA_EMAIL_ADDRESS="you@example.com"
```
2. **Configure credentials**

Create a `.env` file in your project root:

```env
JIRA_API_TOKEN=your-token
JIRA_SUBDOMAIN=acme
JIRA_EMAIL_ADDRESS=you@example.com
```

Add these to your shell profile or `.env` file so `git-ninja` can authenticate with JIRA.
**Important:** Do not commit `.env` to version control. Add it to `.gitignore` to keep your credentials secure.

3. **Run `branch:recent` with the `--jira` flag**

Expand Down
Loading