Skip to content

Commit bbf10c1

Browse files
authored
Update cloned actions to current (#138)
1 parent dfae36b commit bbf10c1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+70125
-41983
lines changed

github/Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ branch-cleanup: clone(branch-cleanup)
1313

1414
.PHONY : auto-approve
1515
auto-approve: [email protected]:hmarr/auto-approve-action.git
16-
auto-approve: REF=v3.1.0
16+
auto-approve: REF=v3.2.0
1717
auto-approve: clone(auto-approve)
1818

1919
.PHONY : auto-merge
2020
auto-merge: [email protected]:pascalgn/automerge-action.git
21-
auto-merge: REF=v0.15.5
21+
auto-merge: REF=v0.15.6
2222
auto-merge: clone(auto-merge)
2323

2424
.PHONY : auto-assign
2525
auto-assign: [email protected]:kentaro-m/auto-assign-action.git
26-
auto-assign: REF=v1.2.4
26+
auto-assign: REF=v1.2.5
2727
auto-assign: clone(auto-assign)
2828

2929
.PHONY : create-pull-request
3030
create-pull-request: [email protected]:peter-evans/create-pull-request.git
31-
create-pull-request: REF=v4.2.2
31+
create-pull-request: REF=v4.2.3
3232
create-pull-request: clone(create-pull-request)
3333

3434
.PHONY : slash-command-dispatch
@@ -38,10 +38,10 @@ slash-command-dispatch: clone(slash-command-dispatch)
3838

3939
.PHONY : repository-dispatch
4040
repository-dispatch: [email protected]:peter-evans/repository-dispatch.git
41-
repository-dispatch: REF=v2.1.0
41+
repository-dispatch: REF=v2.1.1
4242
repository-dispatch: clone(repository-dispatch)
4343

4444
.PHONY : create-or-update-comment
4545
create-or-update-comment: [email protected]:peter-evans/create-or-update-comment.git
46-
create-or-update-comment: REF=v2.1.0
46+
create-or-update-comment: REF=v2.1.1
4747
create-or-update-comment: clone(create-or-update-comment)

github/auto-approve/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist/index.js linguist-generated=true
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
on: [push, pull_request]
3+
4+
jobs:
5+
test:
6+
name: Lint and test
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Check out code
10+
uses: actions/checkout@v3
11+
12+
- name: Setup nodejs
13+
uses: actions/setup-node@v3
14+
with:
15+
node-version: '18'
16+
17+
- name: Install dependencies
18+
run: npm ci
19+
20+
- name: Check style with prettier
21+
run: npm run format-check
22+
23+
- name: Run tests
24+
run: npm test
25+
26+
- name: Compare the expected and actual dist/ directories
27+
run: |
28+
npm run build
29+
if [ "$(git diff --ignore-blank-lines --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
30+
echo "Detected uncommitted changes after build. See status below:"
31+
git diff
32+
exit 1
33+
fi
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"[typescript]": {
3+
"editor.defaultFormatter": "esbenp.prettier-vscode"
4+
}
5+
}

github/auto-approve/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Auto Approve GitHub Action
22

3+
[![CI](https://github.com/hmarr/auto-approve-action/actions/workflows/ci.yml/badge.svg?event=push)](https://github.com/hmarr/auto-approve-action/actions/workflows/ci.yml)
4+
35
**Name:** `hmarr/auto-approve-action`
46

57
Automatically approve GitHub pull requests.

github/auto-approve/dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/auto-approve/jest.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
preset: 'ts-jest',
3+
transform: {
4+
'^.+\\.(ts|tsx)?$': 'ts-jest'
5+
}
6+
}

0 commit comments

Comments
 (0)