Skip to content

Commit

Permalink
Update cloned actions to current (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuru authored Mar 13, 2023
1 parent dfae36b commit bbf10c1
Show file tree
Hide file tree
Showing 71 changed files with 70,125 additions and 41,983 deletions.
12 changes: 6 additions & 6 deletions github/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@ branch-cleanup: clone(branch-cleanup)

.PHONY : auto-approve
auto-approve: [email protected]:hmarr/auto-approve-action.git
auto-approve: REF=v3.1.0
auto-approve: REF=v3.2.0
auto-approve: clone(auto-approve)

.PHONY : auto-merge
auto-merge: [email protected]:pascalgn/automerge-action.git
auto-merge: REF=v0.15.5
auto-merge: REF=v0.15.6
auto-merge: clone(auto-merge)

.PHONY : auto-assign
auto-assign: [email protected]:kentaro-m/auto-assign-action.git
auto-assign: REF=v1.2.4
auto-assign: REF=v1.2.5
auto-assign: clone(auto-assign)

.PHONY : create-pull-request
create-pull-request: [email protected]:peter-evans/create-pull-request.git
create-pull-request: REF=v4.2.2
create-pull-request: REF=v4.2.3
create-pull-request: clone(create-pull-request)

.PHONY : slash-command-dispatch
Expand All @@ -38,10 +38,10 @@ slash-command-dispatch: clone(slash-command-dispatch)

.PHONY : repository-dispatch
repository-dispatch: [email protected]:peter-evans/repository-dispatch.git
repository-dispatch: REF=v2.1.0
repository-dispatch: REF=v2.1.1
repository-dispatch: clone(repository-dispatch)

.PHONY : create-or-update-comment
create-or-update-comment: [email protected]:peter-evans/create-or-update-comment.git
create-or-update-comment: REF=v2.1.0
create-or-update-comment: REF=v2.1.1
create-or-update-comment: clone(create-or-update-comment)
1 change: 1 addition & 0 deletions github/auto-approve/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist/index.js linguist-generated=true
33 changes: 33 additions & 0 deletions github/auto-approve/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI
on: [push, pull_request]

jobs:
test:
name: Lint and test
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3

- name: Setup nodejs
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install dependencies
run: npm ci

- name: Check style with prettier
run: npm run format-check

- name: Run tests
run: npm test

- name: Compare the expected and actual dist/ directories
run: |
npm run build
if [ "$(git diff --ignore-blank-lines --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build. See status below:"
git diff
exit 1
fi
5 changes: 5 additions & 0 deletions github/auto-approve/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
2 changes: 2 additions & 0 deletions github/auto-approve/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Auto Approve GitHub Action

[![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)

**Name:** `hmarr/auto-approve-action`

Automatically approve GitHub pull requests.
Expand Down
2 changes: 1 addition & 1 deletion github/auto-approve/dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions github/auto-approve/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
preset: 'ts-jest',
transform: {
'^.+\\.(ts|tsx)?$': 'ts-jest'
}
}
Loading

0 comments on commit bbf10c1

Please sign in to comment.