chore(deps): update gcr.io/distroless/static docker digest to 5c7e2b4… #168
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release(openapi) | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
env: | |
GOTOOLCHAIN: "local" | |
jobs: | |
openapi: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: npm ci | |
- run: npm run build | |
- uses: actions/checkout@v4 | |
with: | |
repository: "bangumi/api" | |
path: api | |
- run: cp ./dist/v0.yaml ./api/open-api/v0.yaml | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
path: api | |
token: ${{ secrets.PAT }} | |
title: Update Openapi Specification from bangumi/server | |
push-to-fork: Trim21-bot/api | |
branch: "update-upstream" | |
author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>" |