Skip to content

Commit 99b87c3

Browse files
authored
Merge pull request #569 from peter-evans/v4
Update runtime to node 16
2 parents 23531c9 + 54e9f89 commit 99b87c3

File tree

6 files changed

+45
-40
lines changed

6 files changed

+45
-40
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
labels:
8+
- "dependencies"

.github/workflows/ci.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,20 @@ jobs:
1414
build:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v2
18-
- uses: actions/setup-node@v1
17+
- uses: actions/checkout@v3
18+
- uses: actions/setup-node@v3
1919
with:
20-
node-version: 12.x
21-
- uses: actions/setup-python@v2
22-
with:
23-
python-version: '3.x'
20+
node-version: 16.x
2421
- run: npm ci
2522
- run: npm run build
2623
- run: npm run format-check
2724
- run: npm run lint
2825
- run: npm run test
29-
- uses: actions/upload-artifact@v2
26+
- uses: actions/upload-artifact@v3
3027
with:
3128
name: dist
3229
path: dist
33-
- uses: actions/upload-artifact@v2
30+
- uses: actions/upload-artifact@v3
3431
with:
3532
name: action.yml
3633
path: action.yml
@@ -43,14 +40,14 @@ jobs:
4340
matrix:
4441
target: [built, committed]
4542
steps:
46-
- uses: actions/checkout@v2
43+
- uses: actions/checkout@v3
4744
- if: matrix.target == 'built' || github.event_name == 'pull_request'
48-
uses: actions/download-artifact@v2
45+
uses: actions/download-artifact@v3
4946
with:
5047
name: dist
5148
path: dist
5249
- if: matrix.target == 'built' || github.event_name == 'pull_request'
53-
uses: actions/download-artifact@v2
50+
uses: actions/download-artifact@v3
5451
with:
5552
name: action.yml
5653
path: .
@@ -88,9 +85,9 @@ jobs:
8885
needs: [test]
8986
runs-on: ubuntu-latest
9087
steps:
91-
- uses: actions/checkout@v2
88+
- uses: actions/checkout@v3
9289
- run: rm -rf dist
93-
- uses: actions/download-artifact@v2
90+
- uses: actions/download-artifact@v3
9491
with:
9592
name: dist
9693
path: dist

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ If the file does not exist the action exits silently.
1414

1515
```yml
1616
- name: Create Issue From File
17-
uses: peter-evans/create-issue-from-file@v3
17+
uses: peter-evans/create-issue-from-file@v4
1818
with:
1919
title: An example issue
2020
content-filepath: ./example-content/output.md
@@ -46,7 +46,7 @@ To create a project card for the issue, pass the `issue-number` step output to [
4646
```yml
4747
- name: Create Issue From File
4848
id: ciff
49-
uses: peter-evans/create-issue-from-file@v2
49+
uses: peter-evans/create-issue-from-file@v4
5050
with:
5151
title: An example issue
5252
content-filepath: ./example-content/output.md

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ outputs:
2222
issue-number:
2323
description: 'The number of the created issue'
2424
runs:
25-
using: 'node12'
25+
using: 'node16'
2626
main: 'dist/index.js'
2727
branding:
2828
icon: 'alert-circle'

package-lock.json

Lines changed: 23 additions & 23 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
@@ -1,6 +1,6 @@
11
{
22
"name": "create-issue-from-file",
3-
"version": "3.0.0",
3+
"version": "4.0.0",
44
"private": true,
55
"description": "An action to create an issue using content from a file",
66
"main": "lib/main.js",

0 commit comments

Comments
 (0)