Skip to content

Commit

Permalink
Merge pull request #115 from github/docs-and-fixes
Browse files Browse the repository at this point in the history
Docs, Fixes, and Updates
  • Loading branch information
GrantBirki authored Nov 8, 2023
2 parents 84266cf + 330107c commit 1029a70
Show file tree
Hide file tree
Showing 11 changed files with 352 additions and 248 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dist/** -diff linguist-generated=true
dist/** -diff linguist-generated=true
2 changes: 1 addition & 1 deletion .github/workflows/package-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v4

- name: setup node
uses: actions/setup-node@v3.8.1
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Contributing
# Contributing

[fork]: https://github.com/github/privileged-requester/fork
[pr]: https://github.com/github/privileged-requester/compare
Expand Down
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Privileged Requester

[![CodeQL](https://github.com/github/privileged-requester/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/github/privileged-requester/actions/workflows/codeql-analysis.yml) [![package-check](https://github.com/github/privileged-requester/actions/workflows/package-check.yml/badge.svg)](https://github.com/github/privileged-requester/actions/workflows/package-check.yml) [![units-test](https://github.com/github/privileged-requester/actions/workflows/test.yml/badge.svg)](https://github.com/github/privileged-requester/actions/workflows/test.yml) [![privileged-requester](https://github.com/github/privileged-requester/actions/workflows/privileged-requester.yml/badge.svg)](https://github.com/github/privileged-requester/actions/workflows/privileged-requester.yml)
[![CodeQL](https://github.com/github/privileged-requester/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/github/privileged-requester/actions/workflows/codeql-analysis.yml) [![package-check](https://github.com/github/privileged-requester/actions/workflows/package-check.yml/badge.svg)](https://github.com/github/privileged-requester/actions/workflows/package-check.yml) [![units-test](https://github.com/github/privileged-requester/actions/workflows/test.yml/badge.svg)](https://github.com/github/privileged-requester/actions/workflows/test.yml)

This GitHub Action will automatically approve pull requests based off of requester criteria defined in the target repository.

Expand Down Expand Up @@ -90,3 +90,20 @@ Here are the configuration options for this Action:
## First Time Setup

It should be noted that this Action looks at the `default` branch for its configuration file. This means that if you add this Action through a pull request, it will look at the default branch and _fail_ because it cannot find the config file that has not landed on `main` / `master` yet. After merging the pull request that adds this Action to your repository, it should work as expected.

## GitHub App Permissions

If you are using a GitHub app with this Action, you will need to grant the following permissions:

- Checks: `Read and write`
- Contents: `Read and write`
- Metadata: `Read-only`
- Pull requests: `Read and write`

### Subscribe to Events

This GitHub App will subscribe to the following events:

- Check suite
- Check run
- Pull request
Loading

0 comments on commit 1029a70

Please sign in to comment.