cleanup workflows

This commit is contained in:
Il'ya (Marshal) 2021-04-25 18:00:32 +02:00
parent 00e47d80ce
commit 37b6aa2490
3 changed files with 3 additions and 9 deletions

View file

@ -3,7 +3,7 @@ name: Send alert to Telegram channel
on: on:
push: push:
branches: branches:
- '**' - main
jobs: jobs:
make_and_send_alert: make_and_send_alert:
@ -14,10 +14,6 @@ jobs:
- name: Clone. - name: Clone.
uses: actions/checkout@v2 uses: actions/checkout@v2
with:
token: ${{ secrets.MY_PERSONAL_ACCESS_TOKEN }}
persist-credentials: false
submodules: recursive
- name: Setup Python. - name: Setup Python.
uses: actions/setup-python@v2 uses: actions/setup-python@v2

View file

@ -17,7 +17,7 @@ jobs:
- name: Clone. - name: Clone.
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
submodules: recursive token: ${{ secrets.PAT }}
- name: Setup Python. - name: Setup Python.
uses: actions/setup-python@v2 uses: actions/setup-python@v2

View file

@ -17,9 +17,7 @@ jobs:
- name: Clone. - name: Clone.
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
token: ${{ secrets.MY_PERSONAL_ACCESS_TOKEN }} token: ${{ secrets.PAT }}
persist-credentials: false
submodules: recursive
- name: Setup Python. - name: Setup Python.
uses: actions/setup-python@v2 uses: actions/setup-python@v2