We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b874918 commit 43c60d6Copy full SHA for 43c60d6
1 file changed
.github/workflows/update-common.yaml
@@ -1,12 +1,18 @@
1
-name: Release(openapi)
+name: update common defs
2
3
on:
4
+ push:
5
+ branches:
6
+ - master
7
repository_dispatch:
8
types:
9
- ci-update-common
10
11
+permissions:
12
+ contents: write
13
+
14
jobs:
- openapi:
15
+ update:
16
runs-on: ubuntu-24.04
17
steps:
18
- uses: actions/checkout@v4
@@ -17,7 +23,7 @@ jobs:
23
with:
24
node-version: 22
19
25
20
- - run: git pull origin master
26
+ - run: git reset --hard origin/master
21
27
working-directory: ./pkg/vars/common
22
28
29
- run: yarn install --frozen-lockfile
@@ -30,4 +36,5 @@ jobs:
30
36
token: ${{ secrets.PAT }}
31
37
title: "feat: update common"
32
38
branch: "ci/update-common"
39
+ push-to-fork: "trim21-bot/bangumi-server"
33
40
author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
0 commit comments