Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 0e3372e

Browse files
committed
chore: upgrade GitHub Actions functionality per deprecations
1 parent f8ab347 commit 0e3372e

File tree

5 files changed

+2173
-996
lines changed

5 files changed

+2173
-996
lines changed

Readme.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ Look for a "trigger word" in a pull-request description or comment, so that late
44

55
<!-- TODO release workflow-preprocessor This is most useful in tandem with [workflow-preprocessor], so that you don't have to be writing a ton of `if`s all down the line. -->
66

7+
:warning: This is a fork of the [Khan/pull-request-comment-trigger](https://github.com/Khan/pull-request-comment-trigger) action ([marketplace](https://github.com/marketplace/actions/pull-request-comment-trigger)), with upgrades for deprecated GitHub Actions functionality:
8+
9+
- [2022-10-11-github-actions-deprecating-save-state-and-set-output-commands](https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/)
10+
- [2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12](https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/)
11+
12+
See the upstream pull request [`chore: GitHub upgrades` #46](https://github.com/Khan/pull-request-comment-trigger/pull/46) for more details.
13+
714
## Example usage in a workflow
815

916
Your workflow needs to listen to the following events:
@@ -22,7 +29,7 @@ jobs:
2229
deploy:
2330
runs-on: ubuntu-latest
2431
steps:
25-
- uses: khan/pull-request-comment-trigger@v1.1.0
32+
- uses: shanegenschaw/pull-request-comment-trigger@v2.0.0
2633
id: check
2734
with:
2835
trigger: '@deploy'

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'Pull Request Comment Trigger'
1+
name: 'Pull Request Comment Trigger fork'
22
description: 'Look for a "trigger word" in a pull-request description or comment, so that later steps can know whether or not to run.'
33
inputs:
44
reaction:
@@ -18,8 +18,8 @@ outputs:
1818
comment_body:
1919
description: The comment body.
2020
runs:
21-
using: 'node12'
21+
using: 'node16'
2222
main: 'dist/index.js'
2323
branding:
2424
icon: check-circle
25-
color: red
25+
color: red

0 commit comments

Comments
 (0)