Skip to content

Commit 5dda98b

Browse files
committed
GitHub apps support
1 parent 42234cb commit 5dda98b

File tree

5 files changed

+102
-2
lines changed

5 files changed

+102
-2
lines changed

.dependabot/config.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# https://dependabot.com/
2+
version: 1
3+
update_configs:
4+
- package_manager: "php:composer"
5+
directory: "/"
6+
update_schedule: "live"
7+
default_reviewers:
8+
- "otherguy"
9+
default_assignees:
10+
- "otherguy"
11+
default_labels:
12+
- "dependabot 🤖"
13+
version_requirement_updates: "auto"

.github/reaction.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Configuration for reaction-comments - https://github.com/dessant/reaction-comments
2+
3+
# Issues and pull requests with these labels accept reaction comments.
4+
# Set to `[]` to disable
5+
exemptLabels: []
6+
7+
# Replace matching comments with this message, `{comment-author}` is an
8+
# optional placeholder. Set to `false` to disable
9+
reactionComment: >
10+
:wave: @{comment-author}, did you mean to use
11+
a [reaction](https://git.io/vhzhC) instead?
12+
# Limit to only `issues` or `pulls`
13+
# only: issues
14+
15+
# Optionally, specify configuration settings just for `issues` or `pulls`
16+
# issues:
17+
# exemptLabels:
18+
# - party-parrot
19+
20+
# pulls:
21+
# reactionComment: false
22+
23+
# Repository to extend settings from
24+
# _extends: repo

.github/stale.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 60
3+
4+
# Number of days of inactivity before a stale issue is closed
5+
daysUntilClose: 7
6+
7+
# Issues with these labels will never be considered stale
8+
exemptLabels:
9+
- WIP
10+
- pinned
11+
12+
# Label to use when marking an issue as stale
13+
staleLabel: wontfix
14+
15+
# Comment to post when marking an issue as stale. Set to `false` to disable
16+
markComment: >
17+
This issue has been automatically marked as stale because it has not had
18+
recent activity. It will be closed if no further activity occurs. Thank you
19+
for your contributions.
20+
21+
# Comment to post when closing a stale issue. Set to `false` to disable
22+
closeComment: true

.mergify.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
pull_request_rules:
2+
3+
# If there is at least one positive review and CI passed, merge
4+
- name: Automatic merge on CI success and review
5+
conditions:
6+
- status-success=continuous-integration/travis-ci/pr
7+
- "#approved-reviews-by>=1"
8+
- base=master
9+
- label!=WIP
10+
actions:
11+
merge:
12+
method: squash
13+
strict: smart
14+
15+
# Delete branch after automatic merge
16+
- name: Delete branch after merge
17+
conditions:
18+
- merged
19+
actions:
20+
delete_head_branch: {}
21+
22+
# Automatically merge Dependabot Pull Requests
23+
- name: Automatic merge for Dependabot pull requests
24+
conditions:
25+
- author=dependabot[bot]
26+
- status-success=continuous-integration/travis-ci/pr
27+
- base=master
28+
actions:
29+
merge:
30+
method: squash
31+
strict: smart
32+
33+
# Remove outdated reviews
34+
- name: Remove outdated reviews
35+
conditions:
36+
- base=master
37+
actions:
38+
dismiss_reviews:
39+
approved: True
40+
changes_requested: True

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# PHP 7 API Wrapper for Popular Currency Rate APIs
1+
# PHP Currency API
2+
A PHP 7 API Wrapper for Popular Currency Rate APIs
23

34
[![Version](https://img.shields.io/packagist/v/otherguy/php-currency-api.svg?style=flat-square)](https://packagist.org/packages/otherguy/php-currency-api)
45
[![GitHub issues](https://img.shields.io/github/issues/otherguy/php-currency-api.svg?style=flat-square)](https://github.com/otherguy/php-currency-api/issues)
@@ -26,7 +27,7 @@ was just a stub and not implemented.
2627

2728
## Prerequisites
2829

29-
* PHP 7.1+
30+
* PHP 7.1 or higher (Tested on: PHP 7.1 ✅, 7.2 ✅ and 7.3 ✅)
3031
* [Composer](https://getcomposer.org)
3132
* An account with one or more of the API providers above
3233

0 commit comments

Comments
 (0)