Commit 83a1a14 1 parent 182beec commit 83a1a14 Copy full SHA for 83a1a14
File tree 2 files changed +24
-0
lines changed
2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,24 @@ That way you will automatically be reminded to check back on the reference.
19
19
20
20
## Configuration
21
21
22
+ Please note that this action has to run on node.js 14, which is currently only possible using a workaround.
23
+ Therefore, you have to make sure this action runs on a sufficient node version, e.g. by using this minimal job config:
24
+
25
+ ``` yaml
26
+ jobs :
27
+ find_closed_references :
28
+ runs-on : ubuntu-latest
29
+ name : Find closed references
30
+ steps :
31
+ - uses : actions/checkout@v2
32
+ - uses : actions/setup-node@v2-beta
33
+ with :
34
+ node-version : ' 14'
35
+ - uses : ory/closed-reference-notifier@v1.0.0
36
+ with :
37
+ token : ${{ secrets.GITHUB_TOKEN }}
38
+ ` ` `
39
+
22
40
We recommend having this action run regularly e.g. daily. To enable access to the GitHub API
23
41
you have to set the token input (see below).
24
42
Original file line number Diff line number Diff line change @@ -19,11 +19,17 @@ inputs:
19
19
runs :
20
20
using : composite
21
21
steps :
22
+ # requires actions within actions as tracked in https://github.com/actions/runner/issues/646
22
23
# - uses: actions/setup-node@v2-beta
23
24
# with:
24
25
# node-version: '14'
25
26
- run : node ${{ github.action_path }}/distAction/index.js
26
27
shell : bash
28
+ env :
29
+ INPUT_TOKEN : ${{ inputs.token }}
30
+ INPUT_IGNORE : ${{ inputs.ignore }}
31
+ INPUT_ISSUELABELS : ${{ inputs.issueLabels }}
32
+ INPUT_ISSUELIMIT : ${{ inputs.issueLimit }}
27
33
branding :
28
34
color : red
29
35
icon : hash
You can’t perform that action at this time.
0 commit comments