Skip to content

Commit

Permalink
Copy RIDL errors to quotacontrol
Browse files Browse the repository at this point in the history
  • Loading branch information
VojtechVitek committed Jan 24, 2025
1 parent 100c948 commit aae29b1
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 3 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/copy-ridl-errors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: copy-ridl-errors

on:
#workflow_call:
push:

jobs:
copy-ridl-errors:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Update quotacontrol
uses: 0xsequence/actions/git-copy@master
env:
API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN_GIT_COMMIT }}
with:
src: "proto/authcontrol.errors.ridl"
dst: "proto/"
branch: "update_sessions_client"
repository: "0xsequence/go-sequence"
pr_create: true
pr_base: "master"
13 changes: 13 additions & 0 deletions .github/workflows/master:copy-go-client.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: copy-ridl-errors

on:
push:
branches:
- master
paths:
- "proto/authcontrol.errors.ridl"

jobs:
run:
uses: ./.github/workflows/copy-ridl-errors.yml
secrets: inherit
5 changes: 4 additions & 1 deletion go.work.sum
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
cloud.google.com/go/compute/metadata v0.3.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k=
github.com/decred/dcrd/crypto/blake256 v1.0.1/go.mod h1:2OfgNZ5wDpcsFmHmCK5gZTPcCXqlm2ArzUIkw9czNJo=
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
github.com/webrpc/gen-golang v0.17.0/go.mod h1:qy1qEWMlTvrRzjSuQLy+176RqNaX1ymUULDtlo7Dapo=
github.com/webrpc/gen-typescript v0.16.1/go.mod h1:xQzYnVaSMfcygDXA5SuW8eYyCLHBHkj15wCF7gcJF5Y=
github.com/webrpc/webrpc v0.22.0/go.mod h1:eeABnLz9BC4F9GGw6UKebVPkzkFYLrZRlcOvh6o8n10=
golang.org/x/crypto v0.27.0/go.mod h1:1Xngt8kV6Dvbssa53Ziq6Eqn0HqbZi5Z6R0ZpwQzt70=
golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg=
golang.org/x/sync v0.10.0 h1:3NQrjDixjgGwUOCaF8w2+VYHv0Ve/vGYSbdkTa98gmQ=
golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sys v0.23.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/telemetry v0.0.0-20240521205824-bda55230c457/go.mod h1:pRgIJT+bRLFKnoM1ldnzKoxTIn14Yxz928LQRYYgIN0=
golang.org/x/term v0.24.0/go.mod h1:lOBK/LVxemqiMij05LGJ0tzNr8xlmwBRJ81PX6wVLH8=
golang.org/x/term v0.27.0/go.mod h1:iMsnZpn0cago0GOrHO2+Y7u7JPn5AylBrcoWkElMTSM=
golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ=
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk=
1 change: 0 additions & 1 deletion proto/errors.ridl → proto/authcontrol.errors.ridl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
webrpc = v1

name = authcontrol
version = v0.9.1

Expand Down
2 changes: 1 addition & 1 deletion proto/authcontrol.ridl
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ enum SessionType: uint16
- Admin # Admin-level access (jwt)
- InternalService # Internal service-to-service access (jwt)

import "./errors.ridl"
import "./authcontrol.errors.ridl"

0 comments on commit aae29b1

Please sign in to comment.