|
22 | 22 | - "release/**" |
23 | 23 | workflow_dispatch: |
24 | 24 | inputs: |
25 | | - action: |
26 | | - description: "Release action" |
| 25 | + command: |
| 26 | + description: "Release command" |
27 | 27 | required: true |
28 | 28 | type: choice |
29 | 29 | options: |
|
33 | 33 | description: "Release stage (for update, e.g. qa)" |
34 | 34 | required: false |
35 | 35 | type: string |
36 | | - release_version: |
| 36 | + version: |
37 | 37 | description: "Release version" |
38 | 38 | required: true |
39 | 39 | type: string |
@@ -62,22 +62,22 @@ jobs: |
62 | 62 | if: github.event_name == 'push' && startsWith(github.ref_name, 'release/') |
63 | 63 | with: |
64 | 64 | access_key: ${{ secrets.LINEAR_ACCESS_KEY }} |
65 | | - release_version: ${{ env.RELEASE_VERSION }} |
| 65 | + version: ${{ env.RELEASE_VERSION }} |
66 | 66 |
|
67 | 67 | # Branch creation: auto-promote to code freeze |
68 | 68 | - uses: linear/linear-release-action@v0 |
69 | 69 | if: github.event_name == 'push' && startsWith(github.ref_name, 'release/') && github.event.created |
70 | 70 | with: |
71 | 71 | access_key: ${{ secrets.LINEAR_ACCESS_KEY }} |
72 | | - action: update |
| 72 | + command: update |
73 | 73 | stage: code freeze |
74 | | - release_version: ${{ env.RELEASE_VERSION }} |
| 74 | + version: ${{ env.RELEASE_VERSION }} |
75 | 75 |
|
76 | 76 | # Manual: run the specified action (later stages, completion) |
77 | 77 | - uses: linear/linear-release-action@v0 |
78 | 78 | if: github.event_name == 'workflow_dispatch' |
79 | 79 | with: |
80 | 80 | access_key: ${{ secrets.LINEAR_ACCESS_KEY }} |
81 | | - action: ${{ inputs.action }} |
| 81 | + command: ${{ inputs.command }} |
82 | 82 | stage: ${{ inputs.stage }} |
83 | | - release_version: ${{ inputs.release_version }} |
| 83 | + version: ${{ inputs.version }} |
0 commit comments