Skip to content

Commit

Permalink
Merge branch 'main' into v1
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Dec 26, 2021
2 parents 968f277 + 9b046b4 commit 77d5527
Show file tree
Hide file tree
Showing 11 changed files with 8,002 additions and 14 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Test

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '12.x'
cache: 'npm'
- run: npm ci
- name: Run tests
run: |
STATUS=0
npm test || STATUS=$?
npm run lint -- --max-warnings=0 || STATUS=$?
exit $STATUS
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.vscode/
node_modules/
lib/
package-lock.json
yarn.lock
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ archive for this release.
* `homebrew-tap`: the repository where the formula should be updated. Defaults
to `Homebrew/homebrew-core`.

* `push-to`: a specific fork of `homebrew-tap` where the edit should be pushed to. Defaults to creating or reusing a personal fork of the owner of COMMITTER_TOKEN.

* `base-branch`: the branch name in the `homebrew-tap` repository where the
formula should be updated. Defaults to the main branch.

Expand Down
4 changes: 3 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ inputs:
homebrew-tap:
description: The repository where the formula should be updated
default: Homebrew/homebrew-core
push-to:
description: An existing fork of the homebrew-tap repository where the edit should be pushed to (defaults to creating or reusing a personal fork)
base-branch:
description: The branch name in the homebrew-tap repository where the formula should be updated
description: The branch name in the homebrew-tap repository to update the formula in
create-pullrequest:
description: Set to a boolean value to either force or prohibit making a pull request to homebrew-tap
commit-message:
Expand Down

0 comments on commit 77d5527

Please sign in to comment.