Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

PR to see diff (while we fix this) #1

Open
wants to merge 144 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
eeaabae
Fix: response lost
till Feb 8, 2022
3994e9a
Chore: include tag/commit (instead of master)
till Feb 9, 2022
16baaf1
Fix: gzip handling
till Feb 9, 2022
2e1fd65
Fix: gzip handling
till Feb 9, 2022
eeeb41f
Chore: more generic error responses
till Feb 10, 2022
1385af7
Chore: introduce logger
till Feb 10, 2022
f46521a
Chore: add test for error when subject is empty
till Feb 10, 2022
d6c0511
Chore: add a trace to the error
till Feb 10, 2022
bcb5dea
Chore: address CR
till Jun 23, 2022
6721bed
chore: update to ory-prettier-styles 1.3.0 (#975)
kevgo Jun 23, 2022
59b0d9b
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jun 23, 2022
f96f2be
autogen: pin v0.39.0 release commit
aeneasr Jun 27, 2022
d6c7c55
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jun 27, 2022
daa3933
autogen(docs): regenerate and update changelog
ory-bot Jun 27, 2022
628f50e
autogen(docs): generate and bump docs
ory-bot Jun 27, 2022
d0cb639
chore: delete semantic.yml (#980)
kevgo Jun 29, 2022
503706f
chore: update repository templates
aeneasr Jun 29, 2022
258b3d6
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jun 29, 2022
756e465
docs: use GitHub Actions badge (#979)
kevgo Jul 4, 2022
3abab71
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jul 4, 2022
6ef9a07
autogen(docs): regenerate and update changelog
ory-bot Jul 4, 2022
7b998a0
chore: update repository templates
aeneasr Jul 11, 2022
25cb969
ci: improve formatting checks (#978)
kevgo Jul 19, 2022
5705a78
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jul 19, 2022
da00cc2
chore: update repository templates
aeneasr Jul 27, 2022
efc93da
chore: update repository templates
aeneasr Aug 11, 2022
46e09d5
feat: customizable Prometheus metric names (#989)
nipsufn Aug 12, 2022
4cb5266
autogen(openapi): regenerate swagger spec and internal client
ory-bot Aug 12, 2022
f06b06d
autogen(docs): regenerate and update changelog
ory-bot Aug 12, 2022
4eda590
chore: update repository templates
aeneasr Aug 13, 2022
c5a6c43
autogen: pin v0.39.1 release commit
aeneasr Aug 17, 2022
259b192
fix: swagger generation issues
aeneasr Aug 18, 2022
d6b3014
autogen: pin v0.39.2 release commit
aeneasr Aug 18, 2022
7b41921
autogen(openapi): regenerate swagger spec and internal client
ory-bot Aug 18, 2022
dc4e7f7
autogen(docs): regenerate and update changelog
ory-bot Aug 18, 2022
1676024
ci: pin to go 1.18
aeneasr Aug 18, 2022
7569903
autogen: pin v0.39.3-pre.0 release commit
aeneasr Aug 18, 2022
6d6afde
autogen(openapi): regenerate swagger spec and internal client
ory-bot Aug 18, 2022
e92f6b0
autogen(docs): regenerate and update changelog
ory-bot Aug 18, 2022
251024c
autogen: pin v0.39.3 release commit
aeneasr Aug 18, 2022
43960d2
autogen(openapi): regenerate swagger spec and internal client
ory-bot Aug 18, 2022
057fdd6
autogen(docs): regenerate and update changelog
ory-bot Aug 18, 2022
ef211e3
chore: hide request paths from metric
adamwalach Aug 30, 2022
166c781
chore: update defaults
adamwalach Aug 30, 2022
8439776
u
adamwalach Aug 30, 2022
42a986d
u
adamwalach Aug 30, 2022
b5f7c4e
u
adamwalach Aug 30, 2022
19b6eaf
chore: add tests
adamwalach Aug 30, 2022
972f37f
chore: fix comment
adamwalach Aug 31, 2022
916355d
autogen(openapi): regenerate swagger spec and internal client
ory-bot Aug 31, 2022
80a4031
autogen(docs): regenerate and update changelog
ory-bot Aug 31, 2022
699cf65
autogen: pin v0.39.4 release commit
aeneasr Aug 31, 2022
0fafa73
autogen(openapi): regenerate swagger spec and internal client
ory-bot Aug 31, 2022
7e52903
autogen(docs): regenerate and update changelog
ory-bot Aug 31, 2022
54c40f2
autogen(docs): generate and bump docs
ory-bot Aug 31, 2022
6bac536
refactor: use koanf configuration system (#999)
hperl Sep 8, 2022
6e4ce40
autogen(openapi): regenerate swagger spec and internal client
ory-bot Sep 8, 2022
b045906
autogen(docs): regenerate and update changelog
ory-bot Sep 8, 2022
1738e61
chore: sort package.json (#1002)
kevgo Sep 10, 2022
708ad9d
autogen(docs): regenerate and update changelog
ory-bot Sep 10, 2022
8ab6f85
fix: move .schema to spec
aeneasr Sep 10, 2022
20fbb8e
chore: move to go 1.19
aeneasr Sep 10, 2022
7f32bc2
fix: remove packr
aeneasr Sep 10, 2022
562cabe
chore: format
aeneasr Sep 10, 2022
686efbe
autogen(openapi): regenerate swagger spec and internal client
ory-bot Sep 10, 2022
6504c0a
fix: adds tracing to cookie_session and bearer_token authenticators (…
achedeuzot Sep 12, 2022
c3c5854
fix: make metric name consistent with rest of ory ecosystem (#1010)
nipsufn Sep 13, 2022
210aa5e
feat: add Oathkeeper gRPC middleware
hperl Aug 23, 2022
dc8c361
test: add gRPC matcher tests
hperl Sep 13, 2022
b42261e
fix: do not load from env in middleware
hperl Sep 13, 2022
becfc76
autogen(openapi): regenerate swagger spec and internal client
ory-bot Sep 14, 2022
f2cd421
autogen: pin v0.40.0 release commit
aeneasr Sep 14, 2022
9665fff
autogen(docs): generate and bump docs
ory-bot Sep 14, 2022
19c0e52
chore: update repository templates
aeneasr Sep 14, 2022
1daecb6
fix: init registry in middleware
hperl Sep 19, 2022
c1ed811
fix: decouple cloud storage tests
hperl Sep 20, 2022
099bcf0
test: fix flaky tests
hperl Sep 20, 2022
4f27378
autogen(docs): regenerate and update changelog
ory-bot Sep 21, 2022
84f9405
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Sep 22, 2022
229f6e9
chore: format using Make (#1014)
kevgo Sep 22, 2022
9c92010
autogen(openapi): regenerate swagger spec and internal client
ory-bot Sep 22, 2022
f68646e
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Sep 23, 2022
2532da3
chore: fix formatting (#1022)
kevgo Sep 23, 2022
ae7b65b
autogen(openapi): regenerate swagger spec and internal client
ory-bot Sep 23, 2022
910ba45
chore: remove double-tabs from Makefile (#1019)
kevgo Sep 26, 2022
6e3844e
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Sep 26, 2022
1e047c2
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Oct 6, 2022
5b3836c
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Oct 19, 2022
864b5ba
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Oct 26, 2022
6f26b99
autogen(docs): regenerate and update changelog
ory-bot Oct 26, 2022
376a2dc
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Nov 1, 2022
a6feb49
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Nov 2, 2022
a3600af
autogen(docs): regenerate and update changelog
ory-bot Nov 2, 2022
75746e7
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Nov 2, 2022
ab50e06
chore: remove listx dependency (#1021)
kevgo Nov 2, 2022
88e7caf
chore: license checker (#1027)
kevgo Nov 2, 2022
dbfbddd
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Nov 2, 2022
f810a0b
chore: remove obsolete header (#1028)
kevgo Nov 2, 2022
851cd0f
docs: standardize license headers (#1024)
kevgo Nov 3, 2022
0262948
autogen(docs): regenerate and update changelog
ory-bot Nov 3, 2022
b9365a6
fix: align proxy mode log level with decision mode log level for acce…
sagarjois Nov 4, 2022
3df857a
autogen(docs): regenerate and update changelog
ory-bot Nov 4, 2022
8e742cc
chore: update Ory CLI with breaking changes to the format task (#1030)
kevgo Nov 8, 2022
ae9a754
autogen(docs): regenerate and update changelog
ory-bot Nov 8, 2022
6fa3978
fix: ignore query string when using X-Forwarded-Uri (#1025)
pingiun Nov 8, 2022
f363b3a
chore: list contributors in file (#1032)
kevgo Nov 10, 2022
9b5c899
autogen(docs): regenerate and update changelog
ory-bot Nov 10, 2022
5d23dcb
docs: fix typo from /decision to /decisions (#1036)
emmanuelgautier Nov 21, 2022
2661190
fix: allow otel tracing provider in config (#1039)
jgraeger Dec 1, 2022
e2737ab
autogen(docs): regenerate and update changelog
ory-bot Dec 1, 2022
32aa172
fix: do not leak sensitive data from gRPC middleware
zepatrik Dec 13, 2022
7017fdf
test: remove `t.Parallel()` from tests that use the same cache and key
zepatrik Dec 13, 2022
7159176
autogen(docs): regenerate and update changelog
ory-bot Dec 13, 2022
f1819fb
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Dec 23, 2022
6e54918
autogen(docs): regenerate and update changelog
ory-bot Dec 23, 2022
b8bda91
chore: update copyrights for 2023 (#1048)
David-Wobrock Jan 4, 2023
37f576b
autogen(docs): regenerate and update changelog
ory-bot Jan 4, 2023
8f42940
feat: move to open telemetry (#1047)
alnr Jan 4, 2023
7150da0
autogen(docs): regenerate and update changelog
ory-bot Jan 6, 2023
f74e8e8
feat: mutator tracing (#1050)
alnr Jan 17, 2023
079bfd6
ci: bump dockle
aeneasr Jan 17, 2023
431f415
autogen: pin v0.40.1 release commit
aeneasr Jan 17, 2023
4e8f06e
autogen(docs): generate and bump docs
ory-bot Jan 17, 2023
2b13ac1
chore(deps): bump JWT deps (#1052)
hperl Jan 17, 2023
46689fa
autogen(docs): regenerate and update changelog
ory-bot Jan 17, 2023
878089d
fix: release pipeline (#1053)
alnr Jan 17, 2023
3cd0550
autogen(docs): regenerate and update changelog
ory-bot Jan 17, 2023
e7fb605
feat: add cache to Koanf.validatePipelineConfig (#1042)
David-Wobrock Jan 30, 2023
34d1217
autogen(docs): regenerate and update changelog
ory-bot Jan 30, 2023
e1357f8
feat: expose health checks in middleware (#1058)
hperl Feb 3, 2023
9572b59
autogen(docs): regenerate and update changelog
ory-bot Feb 3, 2023
f3c4386
feat: forward config options in middleware (#1062)
hperl Feb 7, 2023
e29a26a
autogen(docs): regenerate and update changelog
ory-bot Feb 7, 2023
daa2994
fix: rule readiness check should require at least one rule to be load…
zepatrik Feb 7, 2023
f40b3f1
autogen(docs): regenerate and update changelog
ory-bot Feb 7, 2023
7e7d45e
feat: tracing for authz remote (#1056)
omerlh Feb 8, 2023
98da1a3
autogen(docs): regenerate and update changelog
ory-bot Feb 8, 2023
e5e9d17
fix: render complete config schema in CI and update tracing config (#…
alnr Feb 8, 2023
d305381
chore: use watcherx to watch access rule files (#1059)
zepatrik Feb 15, 2023
5233025
autogen(docs): regenerate and update changelog
ory-bot Feb 15, 2023
0b5f6e6
fix: add handlers in correct order to handle CORS requests properly (…
marcinfigiel Feb 16, 2023
b342931
autogen(docs): regenerate and update changelog
ory-bot Feb 16, 2023
e6a0e44
Merge remote-tracking branch 'upstream/master' into debug-build
till Feb 19, 2023
4a4fd23
Fix: grpc middleware test
till Feb 22, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .bin/.gitignore

This file was deleted.

3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# AUTO-GENERATED, DO NOT EDIT!
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/FUNDING.yml

# These are supported funding model platforms

# github:
Expand Down
9 changes: 6 additions & 3 deletions .github/ISSUE_TEMPLATE/BUG-REPORT.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# AUTO-GENERATED, DO NOT EDIT!
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/ISSUE_TEMPLATE/BUG-REPORT.yml

description: "Create a bug report"
labels:
- bug
Expand All @@ -22,7 +25,7 @@ body:
Guidelines](https://github.com/ory/oathkeeper/blob/master/CONTRIBUTING.md)."
required: true
- label:
"This issue affects my [Ory Cloud](https://www.ory.sh/) project."
"This issue affects my [Ory Network](https://www.ory.sh/) project."
- label:
"I have joined the [Ory Community Slack](https://slack.ory.sh)."
- label:
Expand Down Expand Up @@ -86,7 +89,7 @@ body:
- attributes:
label: "On which operating system are you observing this issue?"
options:
- Ory Cloud
- Ory Network
- macOS
- Linux
- Windows
Expand All @@ -97,7 +100,7 @@ body:
- attributes:
label: "In which environment are you deploying?"
options:
- Ory Cloud
- Ory Network
- Docker
- "Docker Compose"
- "Kubernetes with Helm"
Expand Down
23 changes: 13 additions & 10 deletions .github/ISSUE_TEMPLATE/DESIGN-DOC.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# AUTO-GENERATED, DO NOT EDIT!
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/ISSUE_TEMPLATE/DESIGN-DOC.yml

description:
"A design document is needed for non-trivial changes to the code base."
labels:
Expand All @@ -13,8 +16,8 @@ body:
Ory is leaning heavily on [Google's design docs process](https://www.industrialempathy.com/posts/design-docs-at-google/)
and [Golang Proposals](https://github.com/golang/proposal).

Writing a design doc prior to contributing your change ensures that your ideas are checked with
the community and maintainers. It will save you a lot of time developing things which might need changed
Writing a design doc before contributing your change ensures that your ideas are checked with
the community and maintainers. It will save you a lot of time developing things that might need to be changed
after code reviews, and your pull requests will be merged faster.
type: markdown
- attributes:
Expand All @@ -33,7 +36,7 @@ body:
Guidelines](https://github.com/ory/oathkeeper/blob/master/CONTRIBUTING.md)."
required: true
- label:
"This issue affects my [Ory Cloud](https://www.ory.sh/) project."
"This issue affects my [Ory Network](https://www.ory.sh/) project."
- label:
"I have joined the [Ory Community Slack](https://slack.ory.sh)."
- label:
Expand Down Expand Up @@ -64,7 +67,7 @@ body:
This section should start with an overview and then go into details.
The design doc is the place to write down the trade-offs you made in designing your software. Focus on those trade-offs to produce a useful document with long-term value. That is, given the context (facts), goals and non-goals (requirements), the design doc is the place to suggest solutions and show why a particular solution best satisfies those goals.

The point of writing a document over a more formal medium is to provide the flexibility to express the problem set at hand in an appropriate manner. Because of this, there is no explicit guidance for how to actually describe the design.
The point of writing a document over a more formal medium is to provide the flexibility to express the problem at hand in an appropriate manner. Because of this, there is no explicit guidance on how to actually describe the design.
label: "The design"
id: design
type: textarea
Expand All @@ -73,21 +76,21 @@ body:

- attributes:
description: |
If the system under design exposes an API, then sketching out that API is usually a good idea. In most cases, however, one should withstand the temptation to copy-paste formal interface or data definitions into the doc as these are often verbose, contain unnecessary detail and quickly get out of date. Instead focus on the parts that are relevant to the design and its trade-offs.
If the system under design exposes an API, then sketching out that API is usually a good idea. In most cases, however, one should withstand the temptation to copy-paste formal interface or data definitions into the doc as these are often verbose, contain unnecessary detail and quickly get out of date. Instead, focus on the parts that are relevant to the design and its trade-offs.
label: "APIs"
id: apis
type: textarea

- attributes:
description: |
Systems that store data should likely discuss how and in what rough form this happens. Similar to the advice on APIs, and for the same reasons, copy-pasting complete schema definitions should be avoided. Instead focus on the parts that are relevant to the design and its trade-offs.
Systems that store data should likely discuss how and in what rough form this happens. Similar to the advice on APIs, and for the same reasons, copy-pasting complete schema definitions should be avoided. Instead, focus on the parts that are relevant to the design and its trade-offs.
label: "Data storage"
id: persistence
type: textarea

- attributes:
description: |
Design docs should rarely contain code, or pseudo-code except in situations where novel algorithms are described. As appropriate, link to prototypes that show the implementability of the design.
Design docs should rarely contain code, or pseudo-code except in situations where novel algorithms are described. As appropriate, link to prototypes that show the feasibility of the design.
label: "Code and pseudo-code"
id: pseudocode
type: textarea
Expand All @@ -98,9 +101,9 @@ body:

On one end of the extreme is the “greenfield software project”, where all we know are the goals, and the solution can be whatever makes the most sense. Such a document may be wide-ranging, but it also needs to quickly define a set of rules that allow zooming in on a manageable set of solutions.

On the other end are systems where the possible solutions are very well defined, but it isnt at all obvious how they could even be combined to achieve the goals. This may be a legacy system that is difficult to change and wasnt designed to do what you want it to do or a library design that needs to operate within the constraints of the host programming language.
On the other end are systems where the possible solutions are very well defined, but it isn't at all obvious how they could even be combined to achieve the goals. This may be a legacy system that is difficult to change and wasn't designed to do what you want it to do or a library design that needs to operate within the constraints of the host programming language.

In this situation you may be able to enumerate all the things you can do relatively easily, but you need to creatively put those things together to achieve the goals. There may be multiple solutions, and none of them are really great, and hence such a document should focus on selecting the best way given all identified trade-offs.
In this situation, you may be able to enumerate all the things you can do relatively easily, but you need to creatively put those things together to achieve the goals. There may be multiple solutions, and none of them are great, and hence such a document should focus on selecting the best way given all identified trade-offs.
label: "Degree of constraint"
id: constrait
type: textarea
Expand All @@ -109,7 +112,7 @@ body:
description: |
This section lists alternative designs that would have reasonably achieved similar outcomes. The focus should be on the trade-offs that each respective design makes and how those trade-offs led to the decision to select the design that is the primary topic of the document.

While it is fine to be succinct about solution that ended up not being selected, this section is one of the most important ones as it shows very explicitly why the selected solution is the best given the project goals and how other solutions, that the reader may be wondering about, introduce trade-offs that are less desirable given the goals.
While it is fine to be succinct about a solution that ended up not being selected, this section is one of the most important ones as it shows very explicitly why the selected solution is the best given the project goals and how other solutions, that the reader may be wondering about, introduce trade-offs that are less desirable given the goals.

label: Alternatives considered
id: alternatives
Expand Down
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# AUTO-GENERATED, DO NOT EDIT!
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml

description:
"Suggest an idea for this project without a plan for implementation"
labels:
Expand Down Expand Up @@ -26,7 +29,7 @@ body:
Guidelines](https://github.com/ory/oathkeeper/blob/master/CONTRIBUTING.md)."
required: true
- label:
"This issue affects my [Ory Cloud](https://www.ory.sh/) project."
"This issue affects my [Ory Network](https://www.ory.sh/) project."
- label:
"I have joined the [Ory Community Slack](https://slack.ory.sh)."
- label:
Expand Down
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# AUTO-GENERATED, DO NOT EDIT!
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/ISSUE_TEMPLATE/config.yml

blank_issues_enabled: false
contact_links:
- name: Ory Oathkeeper Forum
Expand Down
3 changes: 3 additions & 0 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# AUTO-GENERATED, DO NOT EDIT!
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/auto_assign.yml

# Set to true to add reviewers to pull requests
addReviewers: true

Expand Down
3 changes: 3 additions & 0 deletions .github/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# AUTO-GENERATED, DO NOT EDIT!
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/config.yml

todo:
keyword: "@todo"
label: todo
12 changes: 6 additions & 6 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.

This text will be included in the changelog. If applicable, include links to documentation or pieces of code.
If your change includes breaking changes please add a codeblock documenting the breaking change:
If your change includes breaking changes please add a code block documenting the breaking change:

```
BREAKING CHANGES: This patch changes the behavior of configuration item `foo` to do bar. To keep the existing
Expand All @@ -17,13 +17,13 @@ If this pull request

1. is a fix for a known bug, link the issue where the bug was reported in the format of `#1234`;
2. is a fix for a previously unknown bug, explain the bug and how to reproduce it in this pull request;
2. implements a new feature, link the issue containing the design document in the format of `#1234`;
3. improves the documentation, no issue reference is required.
3. implements a new feature, link the issue containing the design document in the format of `#1234`;
4. improves the documentation, no issue reference is required.

Pull requests introducing new features, which do not have a design document linked are more likely to be rejected and take on average 2-8 weeks longer to
get merged.

You can discuss changes with maintainers either in the Github Discusssions in this repository or
You can discuss changes with maintainers either in the Github Discussions in this repository or
join the [Ory Chat](https://www.ory.sh/chat).
-->

Expand All @@ -44,8 +44,8 @@ If you're unsure about any of them, don't hesitate to ask. We're here to help!
[contributing code guidelines](../blob/master/CONTRIBUTING.md#contributing-code).
- [ ] I have read the [security policy](../security/policy).
- [ ] I confirm that this pull request does not address a security
vulnerability. If this pull request addresses a security. vulnerability, I
confirm that I got green light (please contact
vulnerability. If this pull request addresses a security vulnerability, I
confirm that I got the approval (please contact
[security@ory.sh](mailto:security@ory.sh)) from the maintainers to push
the changes.
- [ ] I have added tests that prove my fix is effective or that my feature
Expand Down
17 changes: 0 additions & 17 deletions .github/semantic.yml

This file was deleted.

41 changes: 13 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI Tasks for Ory Oathkeeper
name: CI
on:
push:
branches:
Expand All @@ -25,31 +25,29 @@ jobs:
id: sdk-generate

validate:
runs-on: ubuntu-latest
name: Run tests and lints
runs-on: ubuntu-latest
needs:
- sdk-generate
steps:
- uses: ory/ci/checkout@master
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: |
internal/httpclient
path: internal/httpclient
key: ${{ needs.sdk-generate.outputs.sdk-cache-key }}
- uses: actions/setup-go@v2
with:
go-version: ^1.17
go-version: 1.19
- run: go list -json > go.list
- name: Run nancy
uses: sonatype-nexus-community/nancy-github-action@v1.0.2
- name: Run prettier
uses: ory/ci/prettier@master
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v2
env:
GOGC: 100
with:
args: --timeout 10m0s
version: v1.47.3
skip-go-installation: true
skip-pkg-cache: true
- name: Run go-acc (tests)
Expand All @@ -60,22 +58,6 @@ jobs:
run: |
bash <(curl -s https://codecov.io/bash)

setup-tests:
runs-on: ubuntu-latest
name: Setup tests
steps:
- uses: ory/ci/checkout@master
- uses: actions/setup-go@v2
with:
go-version: "^1.17"
- run: make install
- uses: actions/cache@v2
with:
path: ~/go/bin/oathkeeper
key: oathkeeper-${{ hashFiles('~/go/bin/oathkeeper') }}
restore-keys: |
oathkeeper-

test:
runs-on: ubuntu-latest
name: Run tests
Expand All @@ -84,17 +66,19 @@ jobs:
name: ["reload", "e2e", "forwarded-header"]
needs:
- sdk-generate
- setup-tests
steps:
- uses: ory/ci/checkout@master
- uses: actions/setup-go@v2
with:
go-version: "^1.17"
go-version: "1.19"
- uses: actions/cache@v2
with:
path: ~/go/bin/oathkeeper
key: oathkeeper-${{ hashFiles('~/go/bin/oathkeeper') }}
- run: ./test/${{ matrix.name }}/run.sh
- run: |
make install
go version -m $(which oathkeeper) | grep "\w*build"
./test/${{ matrix.name }}/run.sh

docs-cli:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -131,6 +115,7 @@ jobs:
- uses: ory/ci/sdk/release@master
with:
token: ${{ secrets.ORY_BOT_PAT }}
swag-spec-location: spec/swagger.json

release:
name: Generate release
Expand Down Expand Up @@ -158,7 +143,7 @@ jobs:
steps:
- uses: ory/ci/releaser/render-version-schema@master
with:
schema-path: spec/config.json
schema-path: .schema/config.schema.json
token: ${{ secrets.ORY_BOT_PAT }}

newsletter-draft:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/closed_references.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# AUTO-GENERATED, DO NOT EDIT!
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/closed_references.yml

name: Closed Reference Notifier

on:
Expand Down
59 changes: 59 additions & 0 deletions .github/workflows/conventional_commits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# AUTO-GENERATED, DO NOT EDIT!
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/conventional_commits.yml

name: Conventional commits

# This GitHub CI Action enforces that pull request titles follow conventional commits.
# More info at https://www.conventionalcommits.org.
#
# The Ory-wide defaults for commit titles and scopes are below.
# Your repository can add/replace elements via a configuration file at the path below.
# More info at https://github.com/ory/ci/blob/master/conventional_commit_config/README.md

on:
pull_request_target:
types:
- edited
- opened
- ready_for_review
- reopened
# pull_request: # for debugging, uses config in local branch but supports only Pull Requests from this repo

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- id: config
uses: ory/ci/conventional_commit_config@master
with:
config_path: .github/conventional_commits.json
default_types: |
feat
fix
revert
docs
style
refactor
test
build
autogen
security
ci
chore
default_scopes: |
deps
docs
default_require_scope: false
- uses: amannn/action-semantic-pull-request@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: ${{ steps.config.outputs.types }}
scopes: ${{ steps.config.outputs.scopes }}
requireScope: ${{ steps.config.outputs.requireScope }}
subjectPattern: ^(?![A-Z]).+$
subjectPatternError: |
The subject should start with a lowercase letter, yours is uppercase:
"{subject}"
Loading