Browse Source

workflow: update actions

陈凯龙 3 years ago
parent
commit
7f3ab7fb3f
2 changed files with 22 additions and 22 deletions
  1. 0 22
      .github/workflows/auto-merge.yml
  2. 22 0
      .github/workflows/release.yml

+ 0 - 22
.github/workflows/auto-merge.yml

@@ -28,28 +28,6 @@ jobs:
           MERGE_LABELS: ''
           MERGE_FILTER_AUTHOR: 'kailong321200875'
 
-  contrib-readme-en-job:
-    needs: [auto-merge]
-    runs-on: ubuntu-latest
-    name: A job to automate contrib in readme
-    steps:
-      - name: Contribute List
-        uses: akhilmhdh/contributors-readme-action@v2.3.4
-        env:
-          GITHUB_TOKEN: ${{ secrets.CONTRIBUTORS_TOKEN }}
-
-  contrib-readme-job:
-    needs: [auto-merge, contrib-readme-en-job]
-    runs-on: ubuntu-latest
-    name: A job to automate contrib in readme.zh-CN
-    steps:
-      - name: Contribute List
-        uses: akhilmhdh/contributors-readme-action@v2.3.4
-        with:
-          readme_path: README.zh-CN.md
-        env:
-          GITHUB_TOKEN: ${{ secrets.CONTRIBUTORS_TOKEN }}
-
   push-to-gh-pages:
     needs: [auto-merge]
     runs-on: ubuntu-latest

+ 22 - 0
.github/workflows/release.yml

@@ -16,3 +16,25 @@ jobs:
           release-type: node
           package-name: standard-version
           changelog-types: '[{"type": "types", "section":"Types", "hidden": false},{"type": "revert", "section":"Reverts", "hidden": false},{"type": "feat", "section": "Features", "hidden": false},{"type": "fix", "section": "Bug Fixes", "hidden": false},{"type": "improvement", "section": "Feature Improvements", "hidden": false},{"type": "docs", "section":"Docs", "hidden": false},{"type": "style", "section":"Styling", "hidden": false},{"type": "refactor", "section":"Code Refactoring", "hidden": false},{"type": "perf", "section":"Performance Improvements", "hidden": false},{"type": "test", "section":"Tests", "hidden": false},{"type": "build", "section":"Build System", "hidden": false},{"type": "ci", "section":"CI", "hidden":false}]'
+
+  contrib-readme-en-job:
+    needs: [release-please]
+    runs-on: ubuntu-latest
+    name: A job to automate contrib in readme
+    steps:
+      - name: Contribute List
+        uses: akhilmhdh/contributors-readme-action@v2.3.4
+        env:
+          GITHUB_TOKEN: ${{ secrets.CONTRIBUTORS_TOKEN }}
+
+  contrib-readme-job:
+    needs: [release-please]
+    runs-on: ubuntu-latest
+    name: A job to automate contrib in readme.zh-CN
+    steps:
+      - name: Contribute List
+        uses: akhilmhdh/contributors-readme-action@v2.3.4
+        with:
+          readme_path: README.zh-CN.md
+        env:
+          GITHUB_TOKEN: ${{ secrets.CONTRIBUTORS_TOKEN }}