From 37b6aa2490cca21f763b4ecf3faec63431cd2cab Mon Sep 17 00:00:00 2001 From: "Il'ya (Marshal)" Date: Sun, 25 Apr 2021 18:00:32 +0200 Subject: [PATCH] cleanup workflows --- .github/workflows/make_and_send_alert.yml | 6 +----- .github/workflows/make_files_tree.yml | 2 +- .github/workflows/make_tracked_links_list.yml | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/make_and_send_alert.yml b/.github/workflows/make_and_send_alert.yml index e548a9172c..24bc3fa2d5 100644 --- a/.github/workflows/make_and_send_alert.yml +++ b/.github/workflows/make_and_send_alert.yml @@ -3,7 +3,7 @@ name: Send alert to Telegram channel on: push: branches: - - '**' + - main jobs: make_and_send_alert: @@ -14,10 +14,6 @@ jobs: - name: Clone. uses: actions/checkout@v2 - with: - token: ${{ secrets.MY_PERSONAL_ACCESS_TOKEN }} - persist-credentials: false - submodules: recursive - name: Setup Python. uses: actions/setup-python@v2 diff --git a/.github/workflows/make_files_tree.yml b/.github/workflows/make_files_tree.yml index bbd92f6b6a..c7fe263ff4 100644 --- a/.github/workflows/make_files_tree.yml +++ b/.github/workflows/make_files_tree.yml @@ -17,7 +17,7 @@ jobs: - name: Clone. uses: actions/checkout@v2 with: - submodules: recursive + token: ${{ secrets.PAT }} - name: Setup Python. uses: actions/setup-python@v2 diff --git a/.github/workflows/make_tracked_links_list.yml b/.github/workflows/make_tracked_links_list.yml index 9c25ad8b0c..a23362fe2a 100644 --- a/.github/workflows/make_tracked_links_list.yml +++ b/.github/workflows/make_tracked_links_list.yml @@ -17,9 +17,7 @@ jobs: - name: Clone. uses: actions/checkout@v2 with: - token: ${{ secrets.MY_PERSONAL_ACCESS_TOKEN }} - persist-credentials: false - submodules: recursive + token: ${{ secrets.PAT }} - name: Setup Python. uses: actions/setup-python@v2