-
Notifications
You must be signed in to change notification settings - Fork 0
Prepare 0.3.0 release: land SDK migration on master + release automation #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
e96a2c4
9315ed0
542c8f8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| # Builds the .vsix and attaches it to a GitHub Release. This does NOT publish to | ||
| # the Visual Studio Marketplace — that is a separate, deliberate step | ||
| # (.github/workflows/publish.yml, run manually). | ||
| # | ||
| # Trigger by pushing a tag, e.g. `git tag v0.3.0 && git push origin v0.3.0`, | ||
| # or run manually from the Actions tab (workflow_dispatch). | ||
| name: Release | ||
|
|
||
| on: | ||
| push: | ||
| tags: [ 'v*' ] | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: write | ||
|
|
||
| jobs: | ||
| release: | ||
| runs-on: ubuntu-latest | ||
|
Comment on lines
+14
to
+19
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win Serialize release runs by ref. Add a workflow-level concurrency group keyed by the workflow and ref, with 🧰 Tools🪛 zizmor (1.26.1)[error] 15-15: overly broad permissions (excessive-permissions): contents: write is overly broad at the workflow level (excessive-permissions) [warning] 15-15: permissions without explanatory comments (undocumented-permissions): needs an explanatory comment (undocumented-permissions) [info] 18-18: workflow or action definition without a name (anonymous-definition): this job (anonymous-definition) 🤖 Prompt for AI AgentsSource: Linters/SAST tools |
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔒 Security & Privacy | 🟠 Major | ⚡ Quick win 🧩 Analysis chain🏁 Script executed: sed -n '1,120p' .github/workflows/release.yml | cat -nRepository: testingbot/vso-testingbot-plugin Length of output: 1434 Pin the release workflow actions to commit SHAs 🧰 Tools🪛 zizmor (1.26.1)[error] 21-21: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy) (unpinned-uses) 🤖 Prompt for AI AgentsSource: Linters/SAST tools |
||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 20 | ||
| cache: npm | ||
|
|
||
| - name: Install | ||
| run: npm ci | ||
|
|
||
| - name: Package | ||
| run: npm run package | ||
|
|
||
| - name: Create GitHub Release with the VSIX | ||
| uses: softprops/action-gh-release@v2 | ||
| with: | ||
| files: Packages/*.vsix | ||
| draft: true | ||
| generate_release_notes: true | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: testingbot/vso-testingbot-plugin
Length of output: 2506
🏁 Script executed:
Repository: testingbot/vso-testingbot-plugin
Length of output: 1148
🏁 Script executed:
Repository: testingbot/vso-testingbot-plugin
Length of output: 1147
🏁 Script executed:
Repository: testingbot/vso-testingbot-plugin
Length of output: 850
Provide an explicit tag for manual releases.
workflow_dispatchfalls back to the triggering ref, so a manual run from a branch can create a release for that branch instead of av*tag. Add a required dispatch input and pass it totag_name(and checkout that ref for the build) so manual releases target the intended tag.🧰 Tools
🪛 YAMLlint (1.37.1)
[warning] 9-9: truthy value should be one of [false, true]
(truthy)
[error] 11-11: too many spaces inside brackets
(brackets)
[error] 11-11: too many spaces inside brackets
(brackets)
🪛 zizmor (1.26.1)
[warning] 9-12: insufficient job-level concurrency limits (concurrency-limits): workflow is missing concurrency setting
(concurrency-limits)
🤖 Prompt for AI Agents