Skip to content

Commit 3733bbb

Browse files
committed
Remove deprecated outputs
1 parent 172a677 commit 3733bbb

File tree

4 files changed

+1
-11
lines changed

4 files changed

+1
-11
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Unreleased
44

55
- Updated node runtime from 12 to 16
6+
- Removed deprecated `ref` and `sha` outputs. If you're using these then you should switch to `head_ref` and `head_sha` respectively.
67

78
## [1.4.0](https://github.com/xt0rted/pull-request-comment-branch/compare/v1.3.0...v1.4.0) - 2022-10-23
89

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ Name | Decription
8484
`base_sha` | The head sha of the branch the pull request will merge into.
8585
`head_ref` | The name of the pull request branch the comment belongs to.
8686
`head_sha` | The head sha of the pull request branch the comment belongs to.
87-
`ref` | Deprecated, use `head_ref` instead.
88-
`sha` | Deprecated, use `head_sha` instead.
8987

9088
## License
9189

action.yml

-5
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ outputs:
2323
description: "The name of the pull request branch the comment belongs to."
2424
head_sha:
2525
description: "The head sha of the pull request branch the comment belongs to."
26-
# deprecated outputs
27-
ref:
28-
description: "Deprecated, use head_ref instead."
29-
sha:
30-
description: "Deprecated, use head_sha instead."
3126

3227
runs:
3328
using: "node16"

src/main.ts

-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ export async function run() {
2121
setOutput("base_sha", base_sha);
2222
setOutput("head_ref", head_ref);
2323
setOutput("head_sha", head_sha);
24-
25-
// Deprecated
26-
setOutput("ref", head_ref);
27-
setOutput("sha", head_sha);
2824
} catch (error) {
2925
if (error instanceof Error) {
3026
setFailed(error.message);

0 commit comments

Comments
 (0)