Skip to content
This repository was archived by the owner on May 26, 2026. It is now read-only.

Commit b53cb41

Browse files
marek-sajiclaude
andcommitted
chore: Deprecate in favour of verkstedt/actions/jira-integration
Replace the Node action with a thin composite shim that forwards to verkstedt/actions/jira-integration@v1, and drop all the source/build files that are no longer needed (index.mjs, dist/, mock.mjs, package*.json, prettier/eslint configs, .nvmrc). The shim surfaces the deprecation via `deprecationMessage` on the required `github-token` input, so every workflow run logs a warning pointing users to the new location. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 90073fd commit b53cb41

14 files changed

Lines changed: 31 additions & 52611 deletions

.eslintrc.cjs

Lines changed: 0 additions & 21 deletions
This file was deleted.

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.prettierignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.prettierrc.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

AGENTS.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

CLAUDE.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

CONTRIBUTING.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.md

Lines changed: 11 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -4,48 +4,18 @@ Based on Remato’s [Trello integration action](https://github.com/rematocorp/tr
44

55
When PR status changes, moves Jira tickets to the appropriate column on the board.
66

7-
```yaml
8-
name: Jira integration
9-
on:
10-
pull_request:
11-
types:
12-
- opened
13-
- edited
14-
- closed
15-
- reopened
16-
- ready_for_review
17-
- converted_to_draft
18-
issue_comment:
19-
types:
20-
- created
21-
- edited
22-
jobs:
23-
jira:
24-
runs-on: ubuntu-latest
25-
steps:
26-
- uses: verkstedt/jira-integration-action@v1
27-
with:
28-
github-token: ${{ secrets.GITHUB_TOKEN }}
29-
# Hint: Set these on an organisation level and override in repos only when necessary
30-
jira-domain: ${{ vars.JIRA_DOMAIN }}
31-
jira-user: ${{ secrets.JIRA_USER }}
32-
# Create one at: https://id.atlassian.com/manage-profile/security/api-tokens
33-
# Note that user whose API token is used, will “touch” all of
34-
# the issues, so it’s best to create a dedicated user for
35-
# this sort of things.
36-
jira-api-token: ${{ secrets.JIRA_API_TOKEN }}
37-
# e.g. “In Progress”
38-
jira-status-pr-draft: ${{ vars.JIRA_STATUS_PR_DRAFT }}
39-
# e.g. “In Review|In Dev Review”
40-
jira-status-pr-ready: ${{ vars.JIRA_STATUS_PR_READY }}
41-
# e.g. “QA|In PO Review|Done”
42-
jira-status-pr-merged: ${{ vars.JIRA_STATUS_PR_MERGED }}
43-
```
7+
> [!WARNING]
8+
> **Deprecated — moved to [`verkstedt/actions`](https://github.com/verkstedt/actions/tree/HEAD/jira-integration).**
9+
>
10+
> Existing workflows using `verkstedt/jira-integration-action@v1` will
11+
> keep working — `v1` of this repo is now a thin composite shim that
12+
> forwards to `verkstedt/actions/jira-integration@v1`. Please migrate
13+
> your workflows to reference the new location directly:
14+
>
15+
> ```yaml
16+
> - uses: verkstedt/actions/jira-integration@v1
17+
> ```
4418
45-
## Debugging
46-
47-
- Create `mock-inputs.json` with input values AND additional `test-issue-id`.
48-
- Run `node index.mjs`.
4919
5020
## License
5121

action.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11
author: 'verkstedt GmbH <info@verkstedt.com>'
2-
name: jira-integration
3-
description: GitHub Action to move Jira tickets based on PR status
2+
name: jira-integration (deprecated)
3+
description: >
4+
DEPRECATED — forwards to verkstedt/actions/jira-integration@v1.
5+
Please update your workflow to reference the new location directly.
46
branding:
57
color: yellow
68
icon: anchor
79
inputs:
810
github-token:
911
description: 'Github token, https://docs.github.com/en/actions/reference/authentication-in-a-workflow'
1012
required: true
13+
deprecationMessage: >
14+
verkstedt/jira-integration-action is deprecated and has moved to
15+
verkstedt/actions/jira-integration. Please update your workflow to use
16+
`verkstedt/actions/jira-integration@v1` — see
17+
https://github.com/verkstedt/actions/tree/HEAD/jira-integration
1118
jira-domain:
1219
description: 'Jira domain, e.g. example.atlassian.net'
1320
required: true
@@ -27,5 +34,14 @@ inputs:
2734
description: 'Name of the status to transition issue to when PR is merged. If multiple specified (separated by `|`), first matching will be used.'
2835
required: false
2936
runs:
30-
using: node24
31-
main: 'dist/index.mjs'
37+
using: composite
38+
steps:
39+
- uses: verkstedt/actions/jira-integration@v1
40+
with:
41+
github-token: ${{ inputs.github-token }}
42+
jira-domain: ${{ inputs.jira-domain }}
43+
jira-user: ${{ inputs.jira-user }}
44+
jira-api-token: ${{ inputs.jira-api-token }}
45+
jira-status-pr-draft: ${{ inputs.jira-status-pr-draft }}
46+
jira-status-pr-ready: ${{ inputs.jira-status-pr-ready }}
47+
jira-status-pr-merged: ${{ inputs.jira-status-pr-merged }}

0 commit comments

Comments
 (0)