CI: использовать TG переменные раннера без переопределения secrets
This commit is contained in:
@@ -22,9 +22,6 @@ jobs:
|
||||
name: Code Quality Checks
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ !contains(github.event.head_commit.message, '#no_lint') }}
|
||||
env:
|
||||
TG_BOT_KEY: ${{ secrets.TG_BOT_KEY }}
|
||||
TG_CHANNEL: ${{ secrets.TG_CHANNEL }}
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@@ -86,9 +83,6 @@ jobs:
|
||||
name: Run Tests
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ !contains(github.event.head_commit.message, '#no_test') }}
|
||||
env:
|
||||
TG_BOT_KEY: ${{ secrets.TG_BOT_KEY }}
|
||||
TG_CHANNEL: ${{ secrets.TG_CHANNEL }}
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@@ -153,9 +147,6 @@ jobs:
|
||||
(github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev') &&
|
||||
(needs.lint.result == 'success' || needs.lint.result == 'skipped') &&
|
||||
(needs.test.result == 'success' || needs.test.result == 'skipped')
|
||||
env:
|
||||
TG_BOT_KEY: ${{ secrets.TG_BOT_KEY }}
|
||||
TG_CHANNEL: ${{ secrets.TG_CHANNEL }}
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
||||
Reference in New Issue
Block a user