diff --git a/CHANGELOG.md b/CHANGELOG.md index 91c8d257..478b8bd7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [6.1.0] - 2020-12-22 + +### Added: + +- `token` input: you can now use this instead of setting the `GITHUB_TOKEN` env variable, which has been deprecated. This input is optional, its default value is the default `secrets.GITHUB_TOKEN`. You only need to use this if you want the action to run with a PAT. (issue #110) + +### Deprecated: + +- `GITHUB_TOKEN`: the use of this env variable is now deprecated in favor of the `token` input, you'll start receiving warnings if you keep using it. (issue #110) + ## [6.0.0] - 2020-12-22 ### Added: @@ -216,3 +226,4 @@ First release [5.2.0]: https://github.com/EndBug/add-and-commit/compare/v5.1.2...v5.2.0 [5.3.0]: https://github.com/EndBug/add-and-commit/compare/v5.2.0...v5.3.0 [6.0.0]: https://github.com/EndBug/add-and-commit/compare/v5.3.0...v6.0.0 +[6.1.0]: https://github.com/EndBug/add-and-commit/compare/v6.0.0...v6.1.0 diff --git a/package-lock.json b/package-lock.json index d63f65d0..3a7fc398 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "add-and-commit", - "version": "5.3.0", + "version": "6.1.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 45d0b2bd..9f622342 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "add-and-commit", - "version": "6.0.0", + "version": "6.1.0", "description": "Add & commit files from a path directly from GitHub Actions", "main": "lib/index.js", "scripts": { @@ -9,7 +9,7 @@ "lint": "eslint --ext .ts src", "lint:fix": "eslint --ext .ts --fix src", "all-contributors-badge": "ts-node scripts/all-contributors-badge", - "changelog": "ts-node scripts/changelog.ts", + "changelog": "ts-node scripts/changelog.ts && npm i", "test": "echo \"Error: no test specified\" && exit 1" }, "husky": {