Skip to content

Commit

Permalink
chore: gcp api url (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
simoneb authored May 26, 2021
1 parent 497cfb2 commit 31fe0f9
Show file tree
Hide file tree
Showing 3 changed files with 444 additions and 266 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This action automatically approves and merges dependabot PRs.

## Usage

- install the [GitHub App](https://github.com/apps/dependabot-merge-action) on the repositories or organization where you want to use this action. Using a GitHub App is necessary since [this change](https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/) GitHub introduced which limits the permissions of the provided GITHUB_TOKEN and the availability of secrets in Dependabot pull requests. The source [code of the GitHub App](https://github.com/fastify/dependabot-merge-action-app/) is open source and hosted on Heroku. You can also host your own version of the app and customize the `api-url` input to point to your hosted instance.
- install the [GitHub App](https://github.com/apps/dependabot-merge-action) on the repositories or organization where you want to use this action. Using a GitHub App is necessary since [this change](https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/) GitHub introduced which limits the permissions of the provided GITHUB_TOKEN and the availability of secrets in Dependabot pull requests. The source [code of the GitHub App](https://github.com/fastify/dependabot-merge-action-app/) is open source and hosted on Google Cloud Platform. You can also host your own version of the app and customize the `api-url` input to point to your hosted instance.
- configure this action in your workflows providing the inputs described below

## Inputs
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
steps:
- uses: fastify/github-action-merge-dependabot@v2.0.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
github-token: ${{ secrets.GITHUB_TOKEN }}
```
### Excluding packages
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ inputs:
api-url:
description: 'Url of the API where the application is running'
required: false
default: 'https://dependabot-merge-action-app.herokuapp.com/'
default: 'https://fastify-dependabot-merge-app-5uewp47fja-uc.a.run.app/'
runs:
using: 'node12'
main: 'dist/index.js'
Expand Down
Loading

0 comments on commit 31fe0f9

Please sign in to comment.