Skip to content

Commit b090ac1

Browse files
author
Renato Freire Ricardo
authored
Merge pull request #1 from mirego/upstream-sync
Sync fork with upstream main (preserve upstream history)
2 parents 5f8399b + 1310d7d commit b090ac1

29 files changed

Lines changed: 37500 additions & 12554 deletions

.github/workflows/ci.yml

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,21 @@ jobs:
1919
build:
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v3
23-
- uses: actions/setup-node@v3
22+
- uses: actions/checkout@v4
23+
- uses: actions/setup-node@v4
2424
with:
25-
node-version: 16.x
25+
node-version: 20.x
2626
cache: npm
2727
- run: npm ci
2828
- run: npm run build
2929
- run: npm run format-check
3030
- run: npm run lint
3131
- run: npm run test
32-
- uses: actions/upload-artifact@v3
32+
- uses: actions/upload-artifact@v4
3333
with:
3434
name: dist
3535
path: dist
36-
- uses: actions/upload-artifact@v3
36+
- uses: actions/upload-artifact@v4
3737
with:
3838
name: action.yml
3939
path: action.yml
@@ -46,16 +46,16 @@ jobs:
4646
matrix:
4747
target: [built, committed]
4848
steps:
49-
- uses: actions/checkout@v3
49+
- uses: actions/checkout@v4
5050
with:
5151
ref: main
5252
- if: matrix.target == 'built' || github.event_name == 'pull_request'
53-
uses: actions/download-artifact@v3
53+
uses: actions/download-artifact@v4
5454
with:
5555
name: dist
5656
path: dist
5757
- if: matrix.target == 'built' || github.event_name == 'pull_request'
58-
uses: actions/download-artifact@v3
58+
uses: actions/download-artifact@v4
5959
with:
6060
name: action.yml
6161
path: .
@@ -68,8 +68,8 @@ jobs:
6868
uses: ./
6969
with:
7070
commit-message: '[CI] test ${{ matrix.target }}'
71-
committer: GitHub <noreply@github.com>
72-
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
71+
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
72+
author: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>
7373
title: '[CI] test ${{ matrix.target }}'
7474
body: |
7575
- CI test case for target '${{ matrix.target }}'
@@ -92,7 +92,7 @@ jobs:
9292
runs-on: ubuntu-latest
9393
steps:
9494
- name: Find Comment
95-
uses: peter-evans/find-comment@v2
95+
uses: peter-evans/find-comment@v3
9696
id: fc
9797
with:
9898
issue-number: ${{ github.event.number }}
@@ -101,27 +101,30 @@ jobs:
101101

102102
- if: steps.fc.outputs.comment-id == ''
103103
name: Create comment
104-
uses: peter-evans/create-or-update-comment@v3
104+
uses: peter-evans/create-or-update-comment@v4
105105
with:
106106
issue-number: ${{ github.event.number }}
107107
body: |
108108
Full test suite slash command (repository admin only)
109109
```
110110
/test repository=${{ github.event.pull_request.head.repo.full_name }} ref=${{ github.event.pull_request.head.ref }} build=true
111111
```
112+
```
113+
/test repository=${{ github.event.pull_request.head.repo.full_name }} ref=${{ github.event.pull_request.head.ref }} build=true sign-commits=true
114+
```
112115
113116
package:
114117
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
115118
needs: [test]
116119
runs-on: ubuntu-latest
117120
steps:
118-
- uses: actions/checkout@v3
119-
- uses: actions/download-artifact@v3
121+
- uses: actions/checkout@v4
122+
- uses: actions/download-artifact@v4
120123
with:
121124
name: dist
122125
path: dist
123126
- name: Create Pull Request
124-
uses: peter-evans/create-pull-request@v5
127+
uses: peter-evans/create-pull-request@v7
125128
with:
126129
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
127130
commit-message: 'build: update distribution'

.github/workflows/cpr-example-command.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
createPullRequest:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v3
9+
- uses: actions/checkout@v4
1010

1111
- name: Make changes to pull request
1212
run: date +%s > report.txt
@@ -16,8 +16,8 @@ jobs:
1616
uses: ./
1717
with:
1818
commit-message: Update report
19-
committer: GitHub <noreply@github.com>
20-
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
19+
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
20+
author: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>
2121
signoff: false
2222
title: '[Example] Update report'
2323
body: |
@@ -29,8 +29,8 @@ jobs:
2929
labels: |
3030
report
3131
automated pr
32-
assignees: peter-evans
33-
reviewers: peter-evans
32+
assignees: retepsnave
33+
reviewers: retepsnave
3434
milestone: 1
3535
draft: false
3636
branch: example-patches
@@ -42,7 +42,7 @@ jobs:
4242
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
4343
4444
- name: Add reaction
45-
uses: peter-evans/create-or-update-comment@v3
45+
uses: peter-evans/create-or-update-comment@v4
4646
with:
4747
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
4848
comment-id: ${{ github.event.client_payload.github.payload.comment.id }}

.github/workflows/slash-command-dispatch.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Slash Command Dispatch
10-
uses: peter-evans/slash-command-dispatch@v3
10+
uses: peter-evans/slash-command-dispatch@v4
1111
with:
1212
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
1313
config: >
@@ -18,12 +18,6 @@ jobs:
1818
"repository": "peter-evans/create-pull-request-tests",
1919
"named_args": true
2020
},
21-
{
22-
"command": "testv4",
23-
"permission": "admin",
24-
"repository": "peter-evans/create-pull-request-tests",
25-
"named_args": true
26-
},
2721
{
2822
"command": "clean",
2923
"permission": "admin",

.github/workflows/update-major-version.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ on:
1111
type: choice
1212
description: The major version tag to update
1313
options:
14-
- v4
15-
- v5
14+
- v6
15+
- v7
1616

1717
jobs:
1818
tag:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222
with:
2323
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
2424
fetch-depth: 0

0 commit comments

Comments
 (0)