Skip to content

Commit

Permalink
ci: use TAIGA_FAMILY_BOT_PAT secret (#5065)
Browse files Browse the repository at this point in the history
  • Loading branch information
nsbarsukov authored Aug 9, 2023
1 parent c77e6b0 commit 985a746
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-add-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ jobs:
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/Tinkoff/projects/3
github-token: ${{ secrets.TINKOFF_BOT_PAT }}
github-token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
2 changes: 1 addition & 1 deletion .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:
- uses: taiga-family/ci/actions/[email protected]
with:
token1: ${{ secrets.GITHUB_TOKEN }}
token2: ${{ secrets.TINKOFF_BOT_PAT }}
token2: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
2 changes: 1 addition & 1 deletion .github/workflows/auto-update-deps-renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Self-hosted Renovate
uses: renovatebot/[email protected]
with:
token: ${{ secrets.TINKOFF_BOT_PAT }}
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
configurationFile: renovate.json
env:
LOG_LEVEL: 'debug'
2 changes: 1 addition & 1 deletion .github/workflows/auto-update-icons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
if: env.SUPPORT_AUTO_PUSH == 'true'
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.TINKOFF_BOT_PAT }}
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

- uses: taiga-family/ci/actions/[email protected]
- run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
token: ${{ secrets.TINKOFF_BOT_PAT }}
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

- uses: taiga-family/ci/actions/[email protected]
- uses: taiga-family/ci/actions/[email protected]
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
if: ${{ env.IS_DRY_MODE == 'false' }}
with:
delete-branch: true
token: ${{ secrets.TINKOFF_BOT_PAT }}
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
branch: release/${{ steps.run-release.outputs.new_version }}
title: '🚀 Release/v${{ steps.run-release.outputs.new_version }}'
body: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: peaceiris/[email protected]
if: ${{ github.event.inputs.dryRun != 'true' }}
with:
github_token: ${{ secrets.TINKOFF_BOT_PAT }}
github_token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
publish_dir: ${{ env.DIST }}
cname: taiga-ui.dev

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
if: env.SUPPORT_AUTO_PUSH == 'true'
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.TINKOFF_BOT_PAT }}
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

- uses: taiga-family/ci/actions/[email protected]

Expand All @@ -53,7 +53,7 @@ jobs:
if: env.SUPPORT_AUTO_PUSH == 'true'
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.TINKOFF_BOT_PAT }}
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

- uses: taiga-family/ci/actions/[email protected]
- run: npm run stylelint ${{ env.SUPPORT_AUTO_PUSH == 'true' && '-- --fix' || '' }}
Expand All @@ -73,7 +73,7 @@ jobs:
if: env.SUPPORT_AUTO_PUSH == 'true'
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.TINKOFF_BOT_PAT }}
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

- uses: taiga-family/ci/actions/[email protected]
# - run: npm run lint ${{ env.SUPPORT_AUTO_PUSH == 'true' && '-- --fix' || '' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
REPO: self
FOLDER: ${{ env.DIST }}/next
BRANCH: snapshots/demo/next/${{ github.head_ref || github.ref_name }}
GITHUB_TOKEN: ${{ secrets.TINKOFF_BOT_PAT }}
GITHUB_TOKEN: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

snapshots-of-release:
if: ${{ contains(github.head_ref || github.ref_name, 'release/') }}
Expand All @@ -42,7 +42,7 @@ jobs:
REPO: self
FOLDER: ${{ env.DIST }}
BRANCH: snapshots/demo/v${{ steps.nodejs-workspace.outputs.root-package-major-version }}.x
GITHUB_TOKEN: ${{ secrets.TINKOFF_BOT_PAT }}
GITHUB_TOKEN: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

concurrency:
group: snapshots-${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
Expand Down

0 comments on commit 985a746

Please sign in to comment.