Skip to content

Commit e6bbeee

Browse files
committed
Add CODEOWNERS and PULL REQUEST TEMPLATE files; implement Packagist update workflow
1 parent 883353a commit e6bbeee

3 files changed

Lines changed: 72 additions & 0 deletions

File tree

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @sequra/partnerships

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂
2+
✂✂✂ REMOVE FROM THIS PART BEFORE SUBMITTING YOUR PULL REQUEST ✂✂✂
3+
✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂
4+
5+
Here are some friendly reminders before submitting your pull request:
6+
7+
- There should be an issue describing the motivation for this change.
8+
- Everything should be well tested.
9+
- Check that you are not making any intensive/slow queries (provide db explain if necessary).
10+
- Migrations should be safe https://sequra.atlassian.net/wiki/display/EN/Safe+Operations+For+High+Volume+PostgreSQL
11+
12+
YOU CAN REMOVE THE PARTS OF THE TEMPLATE THAT DO NOT APPLY TO YOUR PULL REQUEST
13+
14+
✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂
15+
✂✂✂ REMOVE UP TO THIS PART BEFORE SUBMITTING YOUR PULL REQUEST ✂✂✂
16+
✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂
17+
18+
### What is the goal?
19+
20+
_Provide a description of the overall goal (you can usually use the one from the issue)_
21+
22+
### References
23+
* **Issue:** _jira issue goes here, if suggesting a new feature or change, please discuss it in an issue first_
24+
* **Related pull-requests:** _list of related pull-requests (comma-separated): #1, #2_
25+
* **Sentry errors:** _list of links to Sentry errors (comma-separated): link1, link2_
26+
* **Any other references (AppSignal, Prometheus, ...):** _list of links to other references (comma-separated): link1, link2_
27+
28+
### How is it being implemented?
29+
30+
_Provide a description of the implementation_
31+
32+
### Opportunistic refactorings
33+
34+
_Have you improved the code/app in anyway? Explain what you did._
35+
36+
### Caveats
37+
38+
_If you find any, please describe all the special conditions._
39+
40+
### Does it affect (changes or update) any sensitive data?
41+
42+
_Check [Sensitive data list documentation](../blob/master/docs/sensitive_data/README.md) and [Sensitive data list](../blob/master/docs/sensitive_data/sensitive-data.yml)
43+
44+
### How is it tested?
45+
46+
_Automatic tests? Manual tests?_
47+
48+
_If it cannot be tested explain why._
49+
50+
_Add use cases if specs are incomplete or missing._
51+
52+
### How is it going to be deployed?
53+
54+
_If it does not require anything special, just write "Standard deployment". Otherwise, put the required steps._
55+
56+
- [ ] _Step 1_
57+
- [ ] _Step 2_

.github/workflows/packagist.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Update Packagist
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
update-packagist:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Notify Packagist
11+
run: |
12+
curl -XPOST -H 'Content-Type: application/json' \
13+
"https://packagist.org/api/update-package?username=sequra&apiToken=${{ secrets.PACKAGIST_API_TOKEN }}" \
14+
-d '{"repository":{"url":"https://github.com/sequra/integration-middleware"}}'

0 commit comments

Comments
 (0)