diff --git a/.github/workflows/release-branch-action.yml b/.github/workflows/release-branch-action.yml new file mode 100644 index 0000000000..184665f1e6 --- /dev/null +++ b/.github/workflows/release-branch-action.yml @@ -0,0 +1,35 @@ +name: Release Branch Listener for Generating Change Logs + +on: + push: + # Only listen for pull requests against release branches + branches: + - 'release/v**.**.*' # Push events to branches matching example format refs/heads/release/v17.10.0 + tags-ignore: + - IgnoreInChangelog # Do not run these steps if the Pull Request has the tag 'IgnoreInChangelog' + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node_version: [12.4] + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + + - name: Install Packages + run: npm install + + - name: Run Compile + run: npm run compile + + - name: Build the CHANGELOG + run: node scripts/change-log-generator.js diff --git a/package.json b/package.json index c6e6695a00..4d8d3e7072 100644 --- a/package.json +++ b/package.json @@ -57,6 +57,8 @@ }, "license": "BSD-3-Clause", "dependencies": { + "@actions/core": "^1.2.2", + "@actions/github": "^2.1.0", "node": "12.4.0", "npm": "^6.9.0" }, @@ -64,5 +66,18 @@ "hooks": { "pre-push": "npm run lint && npm run reformat" } - } + }, + "name": "vscode-gitactions", + "description": "[![Build status](https://ci.appveyor.com/api/projects/status/ek3pftmawcabebac/branch/develop?svg=true)](https://ci.appveyor.com/project/forcedotcom/salesforcedx-vscode/branch/develop) [![CircleCI](https://circleci.com/gh/forcedotcom/salesforcedx-vscode.svg?style=svg)](https://circleci.com/gh/forcedotcom/salesforcedx-vscode) [![Dev Dependencies](https://david-dm.org/forcedotcom/salesforcedx-vscode/dev-status.svg)](contributing/dependencies.md) [![codecov](https://codecov.io/gh/forcedotcom/salesforcedx-vscode/branch/develop/graph/badge.svg)](https://codecov.io/gh/forcedotcom/salesforcedx-vscode)", + "bugs": { + "url": "https://github.com/forcedotcom/salesforcedx-vscode/issues" + }, + "homepage": "https://github.com/forcedotcom/salesforcedx-vscode#readme", + "version": "1.0.0", + "main": "index.js", + "directories": { + "doc": "docs" + }, + "keywords": [], + "author": "" }