Skip to content

Commit

Permalink
build: reduce dependabot update frequency (#32)
Browse files Browse the repository at this point in the history
* build: reduce dependabot update frequency

See fastify/fastify#3659

* style: format with prettier
  • Loading branch information
Fdawgs committed Jun 1, 2022
1 parent 2d68f35 commit 5aa839f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 17 deletions.
11 changes: 7 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
version: 2
updates:
- package-ecosystem: 'npm'
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'daily'
- package-ecosystem: 'github-actions'
interval: 'monthly'
open-pull-requests-limit: 10

- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'daily'
interval: 'weekly'
open-pull-requests-limit: 10
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Continuous Integration

on:
on:
push:
branches:
- master
branches:
- master
pull_request:

jobs:
Expand Down
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,18 @@

[![CD](https://github.com/nearform/gh-issues-finder/actions/workflows/cd.yml/badge.svg?event=push)](https://github.com/nearform/gh-issues-finder/actions/workflows/cd.yml)



# gh-issues-finder

Tool to help find issues that you can contribute to


Thanks to @GlenTiki for the original at https://github.com/GlenTiki/gh-issue-finder


# Usage

The main usage of this is to fetch issues in the fastify github org tagged as a "good first issue" so that they can be displayed on the website for anyone looking to get started.


An example with all query params: `/api/find-issues?org=test&includeBody=true&labels=test1&labels=test2`


If not specified, `org` defaults to `fastify`, includeBody (whether the description of the issues is included or not in the response) to `false` and labels to `['help wanted', 'good first issue']`.

Example response:
Expand Down Expand Up @@ -89,13 +83,13 @@ Example response:

- In the `Settings` of your GitHub repo, go to `Secrets` and create the `New repository secret` with the names and values below:

- `GCP_PROJECT_ID`: The [ID](https://support.google.com/googleapi/answer/7014113?hl=en) of the GCP project as found in your GCP Account
- `GCP_PROJECT_ID`: The [ID](https://support.google.com/googleapi/answer/7014113?hl=en) of the GCP project as found in your GCP Account

- `GCP_CLOUDRUN_SERVICE_NAME`: The name of the cloud run service, you can select any name that you prefer
- `GCP_CLOUDRUN_SERVICE_NAME`: The name of the cloud run service, you can select any name that you prefer

- `GCP_CLOUDRUN_SERVICE_REGION`: The [region](https://cloud.google.com/compute/docs/regions-zones) in the GCP that you want to create the cloud run service
- `GCP_CLOUDRUN_SERVICE_REGION`: The [region](https://cloud.google.com/compute/docs/regions-zones) in the GCP that you want to create the cloud run service

- `GCP_SA_KEY`: The key that you created for your service account with the permissions to deploy the app. This is a JSON object and should be used as-is.
- `GCP_SA_KEY`: The key that you created for your service account with the permissions to deploy the app. This is a JSON object and should be used as-is.

- After the steps above are configured, go to `Actions` in your GitHub repo and run the CD workflow that is created in the folder `.git/workflows/cd.yaml`. The file is already configured with the action to deploy the cloud run service using the secrets that were created.

Expand Down

0 comments on commit 5aa839f

Please sign in to comment.