Mark GITHUB_PAT, committer_name and committer_email inputs as deprecated
This commit is contained in:
parent
f1d4f1ae95
commit
c8d2878da7
|
@ -1,8 +1,13 @@
|
|||
# Changelog
|
||||
|
||||
## 1.5.3 (2020/05/11)
|
||||
|
||||
* Mark `GITHUB_PAT`, `committer_name` and `committer_email` inputs as deprecated
|
||||
|
||||
## 1.5.2 (2020/05/09)
|
||||
|
||||
* Update CI workflow
|
||||
* Cleanup local paths from extra fields
|
||||
* Fix action yml
|
||||
|
||||
## 1.5.1 (2020/05/04)
|
||||
|
|
|
@ -26,10 +26,12 @@ inputs:
|
|||
description: 'Build directory to deploy'
|
||||
required: true
|
||||
committer_name:
|
||||
description: 'Commit author''s name'
|
||||
description: 'Deprecated. Use committer input with crazy-max/ghaction-github-pages@v2'
|
||||
deprecationMessage: 'The committer_name input will not be supported. Use committer input with crazy-max/ghaction-github-pages@v2'
|
||||
required: false
|
||||
committer_email:
|
||||
description: 'Commit author''s email'
|
||||
description: 'Deprecated. Use committer input with crazy-max/ghaction-github-pages@v2'
|
||||
deprecationMessage: 'The committer_email input will not be supported. Use committer input with crazy-max/ghaction-github-pages@v2'
|
||||
required: false
|
||||
commit_message:
|
||||
description: 'Commit message'
|
||||
|
|
1
dist/index.js
generated
vendored
1
dist/index.js
generated
vendored
|
@ -1786,6 +1786,7 @@ function run() {
|
|||
let remote_url = String('https://');
|
||||
if (process.env['GITHUB_PAT']) {
|
||||
core.info(`✅ Use GITHUB_PAT`);
|
||||
core.warning(`Deprecated. Use GH_PAT with crazy-max/ghaction-github-pages@v2`);
|
||||
remote_url = remote_url.concat(process.env['GITHUB_PAT'].trim());
|
||||
}
|
||||
else if (process.env['GITHUB_TOKEN']) {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/crazy-max/ghaction-docker-buildx.git"
|
||||
"url": "git+https://github.com/crazy-max/ghaction-github-pages.git"
|
||||
},
|
||||
"keywords": [
|
||||
"actions",
|
||||
|
|
|
@ -26,6 +26,7 @@ async function run() {
|
|||
let remote_url = String('https://');
|
||||
if (process.env['GITHUB_PAT']) {
|
||||
core.info(`✅ Use GITHUB_PAT`);
|
||||
core.warning(`Deprecated. Use GH_PAT with crazy-max/ghaction-github-pages@v2`);
|
||||
remote_url = remote_url.concat(process.env['GITHUB_PAT'].trim());
|
||||
} else if (process.env['GITHUB_TOKEN']) {
|
||||
core.info(`✅ Use GITHUB_TOKEN`);
|
||||
|
|
Loading…
Reference in New Issue
Block a user