celetor 4 лет назад
Родитель
Сommit
4a0fecfbaf
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      .github/workflows/release.yml
  2. 1 1
      .github/workflows/test.yml

+ 1 - 1
.github/workflows/release.yml

@@ -85,7 +85,7 @@ jobs:
           git init
           git init
           git config --local user.name "github-actions[bot]"
           git config --local user.name "github-actions[bot]"
           git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
           git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
-          git clone "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.actor }}/release" -b release release-branch
+          git clone "https://${{ github.actor }}:${{ secrets.ACTIONS_TOKEN }}@github.com/${{ github.actor }}/release" -b release release-branch
           mv -rf $GITHUB_WORKSPACE/apk/*.apk release-branch
           mv -rf $GITHUB_WORKSPACE/apk/*.apk release-branch
           cd release-branch
           cd release-branch
           git add *.apk
           git add *.apk

+ 1 - 1
.github/workflows/test.yml

@@ -130,7 +130,7 @@ jobs:
           git init
           git init
           git config --local user.name "github-actions[bot]"
           git config --local user.name "github-actions[bot]"
           git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
           git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
-          git clone "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.actor }}/release" -b test test-branch
+          git clone "https://${{ github.actor }}:${{ secrets.ACTIONS_TOKEN }}@github.com/${{ github.actor }}/release" -b test test-branch
           mv -rf $GITHUB_WORKSPACE/apk/*.apk test-branch
           mv -rf $GITHUB_WORKSPACE/apk/*.apk test-branch
           cd test-branch
           cd test-branch
           git add *.apk
           git add *.apk