Skip to content

Commit

Permalink
Merge pull request #62 from Enterwell/stage
Browse files Browse the repository at this point in the history
release: Correctly passing the secret to the referenced workflow
  • Loading branch information
DorijanH authored Feb 21, 2024
2 parents 264d3e3 + 41dce33 commit c322435
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/release-vscode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ name: Release VS Code extension
env:
VSCODE_PATH: Enterwell.CI.Changelog.VSCodeExtension

on: workflow_call
on:
workflow_call:
secrets:
VSCE_PAT:
required: true

jobs:
release:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
# Release VS Code extension
release-vscode:
uses: './.github/workflows/release-vscode.yml'
secrets:
VSCE_PAT: ${{ secrets.VSCE_PAT }}

# Rest of the repository
rest:
Expand Down
4 changes: 0 additions & 4 deletions Enterwell.CI.Changelog.VSCodeExtension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
_NOTE: This is an automatically generated file. Do not modify contents of this file manually._

## [0.1.0] - 2024-02-21
### Added
- Initial version

## [Unreleased]
Empty file.
2 changes: 1 addition & 1 deletion Enterwell.CI.Changelog.VSCodeExtension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "changelog-create",
"displayName": "Changelog Create",
"description": "This extension helps developers make easy notes on changes made to their codebase.",
"version": "0.1.0",
"version": "0.0.1",
"publisher": "Enterwell",
"repository": "https://github.com/Enterwell/ChangelogManager/tree/main/Enterwell.CI.Changelog.VSCodeExtension",
"homepage": "https://github.com/Enterwell/ChangelogManager/blob/main/Enterwell.CI.Changelog.VSCodeExtension/README.md",
Expand Down

0 comments on commit c322435

Please sign in to comment.