Skip to content

Commit

Permalink
Auto-Approve Dependabot (#470)
Browse files Browse the repository at this point in the history
* chore: tidying project root

* chore: auto-approve

* chore: move install script out of root
  • Loading branch information
Phil Sturgeon authored and Phil Sturgeon committed Aug 22, 2019
1 parent 46a72dd commit a8c6fbb
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 43 deletions.
File renamed without changes.
17 changes: 17 additions & 0 deletions .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Auto-Dependabot

on:
pull_request:
branches:
- develop

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: kjvalencik/github-actions/approve@master
if: github.event_name == 'pull_request' && (github.actor == 'dependabot-preview[bot]' || github.actor == 'dependabot[bot]')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_SHA: ${{ github.sha }}
GITHUB_PR_SELF: ${{ github.event.pull_request._links.self.href }}
2 changes: 1 addition & 1 deletion docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ yarn global add @stoplight/spectral
For users without Node and/or NPM/Yarn, we provide standalone packages for [all major platforms](https://github.com/stoplightio/spectral/releases). The quickest way to install the appropriate package for your operating system is via this shell script:

```bash
curl -L https://raw.githack.com/stoplightio/spectral/master/install.sh | sh
curl -L https://raw.githack.com/stoplightio/spectral/master/scripts/install.sh | sh
```

Note, the binaries do _not_ auto-update, so you will need to run it again to install new versions.
Expand Down
19 changes: 0 additions & 19 deletions main.yml

This file was deleted.

23 changes: 0 additions & 23 deletions pets-mini.yaml

This file was deleted.

File renamed without changes.

0 comments on commit a8c6fbb

Please sign in to comment.