From 98c1bddf0eff5fa4e9f1b23c90511e9b6af7f286 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Fern=C3=A1ndez?= Date: Wed, 12 May 2021 21:24:04 +0200 Subject: [PATCH] chore: replace GH_TOKEN with JF_BOT_TOKEN --- .github/workflows/build_and_release.yml | 4 ++-- .github/workflows/validate_json.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_and_release.yml b/.github/workflows/build_and_release.yml index e7a9718..655c95b 100644 --- a/.github/workflows/build_and_release.yml +++ b/.github/workflows/build_and_release.yml @@ -33,9 +33,9 @@ jobs: run: rm dist/studios/**/studio.json - name: Compress built assets run: cd dist; zip -r -D ../release.zip *; cd .. - - uses: "marvinpinto/action-automatic-releases@latest" + - uses: "marvinpinto/action-automatic-releases@v1.2.0" with: - repo_token: "${{ secrets.GH_TOKEN }}" + repo_token: "${{ secrets.JF_BOT_TOKEN }}" automatic_release_tag: "latest" prerelease: false files: | diff --git a/.github/workflows/validate_json.yml b/.github/workflows/validate_json.yml index a4a325c..05c45a4 100644 --- a/.github/workflows/validate_json.yml +++ b/.github/workflows/validate_json.yml @@ -14,6 +14,6 @@ jobs: - name: Validate studios.json uses: snapcart/json-schema-validator@v1.0.0 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.JF_BOT_TOKEN }} json_schema: .github/studios.schema.json json_path_pattern: studios/.*/studio.json$