Skip to content

Commit

Permalink
Fix README & status badge (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Dorner authored and GitHub committed May 21, 2020
1 parent 29d498d commit 25327a2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Build"
on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
npm install
npm run all
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "build-test"
name: "Pull Request Verification"
on:
pull_request:
types:
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<a href="https://github.com/dorny/pr-changed-files-filter/actions"><img alt="typescript-action status" src="https://github.com/dorny/pr-changed-files-filter/workflows/build-test/badge.svg"></a>
<a href="https://github.com/dorny/pr-changed-files-filter/actions"><img alt="typescript-action status" src="https://github.com/dorny/pr-changed-files-filter/workflows/build/badge.svg"></a>
</p>

**CAUTION**: This action can be only used in a workflow triggered by `pull_request` event.
Expand Down Expand Up @@ -36,7 +36,6 @@ Output variables can be later used in the `if` clause to conditionally run speci

### Sample workflow
```yaml
...
name: Build verification

on:
Expand Down

0 comments on commit 25327a2

Please sign in to comment.