Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
cooldown:
default-days: 14
16 changes: 9 additions & 7 deletions .github/workflows/asyncapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,22 @@ jobs:
contents: write # To push a branch
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
with:
persist-credentials: false

- name: Validate websocket-api
uses: WaleedAshraf/asyncapi-github-action@v0.0.10
uses: WaleedAshraf/asyncapi-github-action@d31f1627ac7c24132e7c4e4b89948d43b619685a # v0.0.10
with:
filepath: './core-api/websocket/UCR-core-asyncapi.yaml'

- name: Validate integration-api
uses: WaleedAshraf/asyncapi-github-action@v0.0.10
uses: WaleedAshraf/asyncapi-github-action@d31f1627ac7c24132e7c4e4b89948d43b619685a # v0.0.10
with:
filepath: './integration-api/UCR-integration-asyncapi.yaml'

- name: Validate dock-api
uses: WaleedAshraf/asyncapi-github-action@v0.0.10
uses: WaleedAshraf/asyncapi-github-action@d31f1627ac7c24132e7c4e4b89948d43b619685a # v0.0.10
with:
filepath: './dock-api/UCD2-asyncapi.yaml'

Expand Down Expand Up @@ -73,23 +75,23 @@ jobs:

- name: Deploy core API GH page
if: github.ref == 'refs/heads/main' || contains(github.ref, 'tags/v')
uses: JamesIves/github-pages-deploy-action@v4
uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4.8.0
with:
branch: gh-pages
folder: ./static/api/ws
target-folder: ./ws

- name: Deploy integration API GH page
if: github.ref == 'refs/heads/main' || contains(github.ref, 'tags/v')
uses: JamesIves/github-pages-deploy-action@v4
uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4.8.0
with:
branch: gh-pages
folder: ./static/api/integration
target-folder: ./integration

- name: Deploy dock API GH page
if: github.ref == 'refs/heads/main' || contains(github.ref, 'tags/v')
uses: JamesIves/github-pages-deploy-action@v4
uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4.8.0
with:
branch: gh-pages
folder: ./static/api/dock
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/deploy_mdbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ jobs:
permissions:
contents: write # To push a branch
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
with:
persist-credentials: false
fetch-depth: 0
- name: Install mdbook
# latest version is not recommended, since it also includes breaking alpha & beta versions
Expand All @@ -40,7 +41,7 @@ jobs:

- name: Cache cargo install
id: cache-cargo-install
uses: actions/cache@v5
uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0
with:
path: |
~/.cargo/bin
Expand All @@ -58,7 +59,7 @@ jobs:
mdbook build

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4.8.0
with:
branch: gh-pages
folder: book
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
with:
persist-credentials: false
- name: Validate with redocli CLI
run: |
docker pull redocly/cli
Expand All @@ -35,12 +37,14 @@ jobs:
needs: [ validate ]
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
with:
persist-credentials: false
- name: Prepare GH page deployment
run: |
cp ./core-api/rest/UCR-core-openapi.yaml ./core-api/rest/swagger-ui
- name: Deploy core API GH page
uses: JamesIves/github-pages-deploy-action@v4
uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4.8.0
with:
branch: gh-pages
folder: ./core-api/rest/swagger-ui
Expand Down