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

[Snyk] Security upgrade express from 4.19.2 to 4.21.0 #537

[Snyk] Security upgrade express from 4.19.2 to 4.21.0

[Snyk] Security upgrade express from 4.19.2 to 4.21.0 #537

Workflow file for this run

name: Check & deploy API documentation
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
pull-requests: write
jobs:
deploy-doc:
if: ${{ github.event_name != 'pull_request' }}
name: Deploy API documentation on Bump
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Deploy API documentation
uses: bump-sh/github-action@master
with:
doc: 'e1e8a461-3b29-4d71-a8fc-010429c9761e'
token: ${{secrets.BUMP_TOKEN}}
file: documentation/api-documentation.yml
api-diff:
if: ${{ github.event_name == 'pull_request' }}
name: Check API diff on Bump
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Comment pull request with API diff
uses: bump-sh/github-action@master
with:
doc: 'e1e8a461-3b29-4d71-a8fc-010429c9761e'
token: ${{secrets.BUMP_TOKEN}}
file: documentation/api-documentation.yml
command: diff
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}