Skip to content

Commit

Permalink
update readme to add GH action status badges (semgrep#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
DrewDennison authored Feb 4, 2020
1 parent 65975f5 commit 88cbc7b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/sgrep-rules-test-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
id: sgrep-tests
uses: returntocorp/sgrep-rules-test-action-develop@master
- uses: actions/upload-artifact@v1
if: always()
with:
name: tests
path: ${{ steps.sgrep-tests.outputs.output_dir }}
1 change: 1 addition & 0 deletions .github/workflows/sgrep-rules-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
id: sgrep-tests
uses: returntocorp/sgrep-rules-test-action@master
- uses: actions/upload-artifact@v1
if: always()
with:
name: tests
path: ${{ steps.sgrep-tests.outputs.output_dir }}
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ This is an repository containing rules written for [sgrep](https://sgrep.dev), o

## Contributing

[![CircleCI](https://circleci.com/gh/returntocorp/sgrep-rules.svg?style=svg)](https://circleci.com/gh/returntocorp/sgrep-rules)
| sgrep | test status |
| ------- | ------------------ |
| `latest` | ![sgrep-rules-test](https://github.com/returntocorp/sgrep-rules/workflows/sgrep-rules-test/badge.svg) |
| `develop` | ![sgrep-rules-test-develop](https://github.com/returntocorp/sgrep-rules/workflows/sgrep-rules-test-develop/badge.svg) |

We welcome contributions to this repo! Please fork and make a pull request; we'll contact you about signing our CLA.

Expand Down Expand Up @@ -41,3 +44,5 @@ x != x
### Github Action To Run Tests

If you fork this repo or create your own, you can add a special [sgrep-rules-test](https://github.com/marketplace/actions/sgrep-rules-test) Github Action to your workflow that will automatically test your rules by running `make test` using the latest version of sgrep.

See ours [here](.github/workflows/sgrep-rules-test.yml)
1 change: 1 addition & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Security Policy

## Supported Versions

All rules on `master` are supported.

## Reporting a Vulnerability
Expand Down

0 comments on commit 88cbc7b

Please sign in to comment.