浏览代码

Use the housekeeping app to update translation sources

Jeremy Stretch 1 年之前
父节点
当前提交
954b5e9ddf
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      .github/workflows/update-translation-strings.yml

+ 9 - 0
.github/workflows/update-translation-strings.yml

@@ -18,8 +18,17 @@ jobs:
       NETBOX_CONFIGURATION: netbox.configuration_testing
 
     steps:
+    - name: Create app token
+      uses: actions/create-github-app-token@v1
+      id: app-token
+      with:
+        app-id: 1076524
+        private-key: ${{ secrets.HOUSEKEEPING_SECRET_KEY }}
+
     - name: Check out repo
       uses: actions/checkout@v4
+      with:
+          token: ${{ steps.app-token.outputs.token }}
 
     - name: Set up Python
       uses: actions/setup-python@v5