Skip to content

Commit b66b3f9

Browse files
Merge pull request #188 from MaximeKjaer/fix-github-changes
Fix #187: Pin github-changes version
2 parents 38c31bb + a5806a4 commit b66b3f9

File tree

3 files changed

+390
-4
lines changed

3 files changed

+390
-4
lines changed

.github/workflows/deploy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Update package.json version
2727
run: yarn version --no-git-tag-version --new-version ${GITHUB_REF#refs/*/}
2828
- name: Generate CHANGELOG.md
29-
run: npx github-changes --owner $OWNER --repository $REPOSITORY --branch $RELEASE_BRANCH --no-merges --title "Scala Syntax (official) Changelog"
29+
run: yarn run github-changes --owner $OWNER --repository $REPOSITORY --branch $RELEASE_BRANCH --no-merges --title "Scala Syntax (official) Changelog"
3030
- run: yarn build
3131
- run: yarn test
3232
# - name: Commit generated files
@@ -41,7 +41,7 @@ jobs:
4141
run: yarn vscode:publish --pat ${{ secrets.VS_MARKETPLACE_TOKEN }}
4242

4343
- name: Generate GitHub Release notes
44-
run: npx github-changes --owner $OWNER --repository $REPOSITORY --branch $RELEASE_BRANCH --no-merges --title "Changelog" --for-tag ${GITHUB_REF#refs/*/} --file release-notes.md
44+
run: yarn run github-changes --owner $OWNER --repository $REPOSITORY --branch $RELEASE_BRANCH --no-merges --title "Changelog" --for-tag ${GITHUB_REF#refs/*/} --file release-notes.md
4545
- name: Create GitHub Release
4646
id: create-release
4747
uses: actions/create-release@v1

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"devDependencies": {
4545
"@types/node": "^14.6.4",
4646
"ajv": "^6.12.4",
47+
"github-changes": "^1.1.1",
4748
"npm-run-all": "^4.1.5",
4849
"rimraf": "^3.0.2",
4950
"ts-node": "^9.0.0",

0 commit comments

Comments
 (0)