Skip to content

Commit c8d2878

Browse files
committed
Mark GITHUB_PAT, committer_name and committer_email inputs as deprecated
1 parent f1d4f1a commit c8d2878

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
# Changelog
22

3+
## 1.5.3 (2020/05/11)
4+
5+
* Mark `GITHUB_PAT`, `committer_name` and `committer_email` inputs as deprecated
6+
37
## 1.5.2 (2020/05/09)
48

59
* Update CI workflow
10+
* Cleanup local paths from extra fields
611
* Fix action yml
712

813
## 1.5.1 (2020/05/04)

action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ inputs:
2626
description: 'Build directory to deploy'
2727
required: true
2828
committer_name:
29-
description: 'Commit author''s name'
29+
description: 'Deprecated. Use committer input with crazy-max/ghaction-github-pages@v2'
30+
deprecationMessage: 'The committer_name input will not be supported. Use committer input with crazy-max/ghaction-github-pages@v2'
3031
required: false
3132
committer_email:
32-
description: 'Commit author''s email'
33+
description: 'Deprecated. Use committer input with crazy-max/ghaction-github-pages@v2'
34+
deprecationMessage: 'The committer_email input will not be supported. Use committer input with crazy-max/ghaction-github-pages@v2'
3335
required: false
3436
commit_message:
3537
description: 'Commit message'

dist/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"repository": {
1313
"type": "git",
14-
"url": "git+https://github.com/crazy-max/ghaction-docker-buildx.git"
14+
"url": "git+https://github.com/crazy-max/ghaction-github-pages.git"
1515
},
1616
"keywords": [
1717
"actions",

src/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ async function run() {
2626
let remote_url = String('https://');
2727
if (process.env['GITHUB_PAT']) {
2828
core.info(`✅ Use GITHUB_PAT`);
29+
core.warning(`Deprecated. Use GH_PAT with crazy-max/ghaction-github-pages@v2`);
2930
remote_url = remote_url.concat(process.env['GITHUB_PAT'].trim());
3031
} else if (process.env['GITHUB_TOKEN']) {
3132
core.info(`✅ Use GITHUB_TOKEN`);

0 commit comments

Comments
 (0)