Skip to content

Commit 8cdf94d

Browse files
committed
breaking: re-implement linear changeset action and clean up code
1 parent 290cc6a commit 8cdf94d

28 files changed

+6696
-54135
lines changed
File renamed without changes.

.github/linters/.markdown-lint.yml

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

.github/linters/.yaml-lint.yml

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

.github/linters/tsconfig.json

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

.github/workflows/ci.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,3 @@ jobs:
4343
- name: Test
4444
id: npm-ci-test
4545
run: npm run ci-test
46-
47-
test-action:
48-
name: GitHub Actions Test
49-
runs-on: ubuntu-latest
50-
51-
steps:
52-
- name: Checkout
53-
id: checkout
54-
uses: actions/checkout@v4
55-
56-
- name: Test Local Action
57-
id: test-action
58-
uses: ./
59-
with:
60-
milliseconds: 2000
61-
62-
- name: Print Output
63-
id: output
64-
run: echo "${{ steps.test-action.outputs.time }}"

CODEOWNERS

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

LICENSE

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

action.yml

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
name: 'The name of your action here'
2-
description: 'Provide a description here'
3-
author: 'Your name or organization here'
1+
name: Linear Changeset Action
2+
description: Action for linear changeset
3+
author: Softnetics
44

55
# Add your action's branding here. This will appear on the GitHub Marketplace.
66
branding:
@@ -9,33 +9,24 @@ branding:
99

1010
# Define your inputs here.
1111
inputs:
12-
mode:
13-
description: 'Mode of operation'
12+
# Required
13+
project-id:
14+
description: 'Project Id'
1415
required: true
16+
# Optional
17+
repository:
18+
description: 'Repository name'
19+
default: '${{ github.repository }}'
1520
token:
1621
description: 'GitHub token'
1722
default: '${{ github.token }}'
18-
release-tags:
19-
description: 'Release tags'
20-
required: true
21-
owner:
22-
description: 'Repository owner'
23-
default: '${{ github.repository_owner }}'
24-
repo:
25-
description: 'Repository name'
26-
default: '${{ github.repository }}'
2723
max-attempts:
2824
description: 'Maximum number of attempts'
2925
default: '3'
30-
release-webhook-url:
26+
27+
webhook-url:
3128
description: 'Release webhook URL'
3229
required: true
33-
version:
34-
description: 'Version'
35-
required: true
36-
project-id:
37-
description: 'Project Id'
38-
required: true
3930

4031
runs:
4132
using: node20

0 commit comments

Comments
 (0)