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
|
# Changelog
|
||||||
|
|
||||||
|
## 1.5.3 (2020/05/11)
|
||||||
|
|
||||||
|
* Mark `GITHUB_PAT`, `committer_name` and `committer_email` inputs as deprecated
|
||||||
|
|
||||||
## 1.5.2 (2020/05/09)
|
## 1.5.2 (2020/05/09)
|
||||||
|
|
||||||
* Update CI workflow
|
* Update CI workflow
|
||||||
|
* Cleanup local paths from extra fields
|
||||||
* Fix action yml
|
* Fix action yml
|
||||||
|
|
||||||
## 1.5.1 (2020/05/04)
|
## 1.5.1 (2020/05/04)
|
||||||
|
|
|
@ -26,10 +26,12 @@ inputs:
|
||||||
description: 'Build directory to deploy'
|
description: 'Build directory to deploy'
|
||||||
required: true
|
required: true
|
||||||
committer_name:
|
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
|
required: false
|
||||||
committer_email:
|
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
|
required: false
|
||||||
commit_message:
|
commit_message:
|
||||||
description: '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://');
|
let remote_url = String('https://');
|
||||||
if (process.env['GITHUB_PAT']) {
|
if (process.env['GITHUB_PAT']) {
|
||||||
core.info(`✅ Use 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());
|
remote_url = remote_url.concat(process.env['GITHUB_PAT'].trim());
|
||||||
}
|
}
|
||||||
else if (process.env['GITHUB_TOKEN']) {
|
else if (process.env['GITHUB_TOKEN']) {
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"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": [
|
"keywords": [
|
||||||
"actions",
|
"actions",
|
||||||
|
|
|
@ -26,6 +26,7 @@ async function run() {
|
||||||
let remote_url = String('https://');
|
let remote_url = String('https://');
|
||||||
if (process.env['GITHUB_PAT']) {
|
if (process.env['GITHUB_PAT']) {
|
||||||
core.info(`✅ Use 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());
|
remote_url = remote_url.concat(process.env['GITHUB_PAT'].trim());
|
||||||
} else if (process.env['GITHUB_TOKEN']) {
|
} else if (process.env['GITHUB_TOKEN']) {
|
||||||
core.info(`✅ Use GITHUB_TOKEN`);
|
core.info(`✅ Use GITHUB_TOKEN`);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user