Skip to content

Commit

Permalink
ci: change access token for GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
a-ryazanov committed Dec 5, 2023
1 parent 11ddf70 commit 721d976
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name: "size"
name: "pull-request"
on:
pull_request:
branches:
- master

jobs:
size:
runs-on: ubuntu-latest
env:
CI_JOB_NUMBER: 1
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.TINKOFF_BOT_PAT }}
github_token: ${{ secrets.TRAMVAI_GH_PAGES_PAT }}
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
steps:
- name: Initialize Git user
run: |
git config --global user.name 'tinkoff-bot'
git config --global user.email 'tinkoff-bot@users.noreply.github.com'
git config --global user.name 'tramvai-conductor'
git config --global user.email 'tramvai-conductor@users.noreply.github.com'
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.TINKOFF_BOT_PAT }}
token: ${{ secrets.TRAMVAI_GH_PAGES_PAT }}

- uses: actions/setup-node@v3
with:
Expand All @@ -42,9 +42,9 @@ jobs:
- name: Release packages
run: yarn release
env:
GH_TOKEN: ${{ secrets.TINKOFF_BOT_PAT }}
GH_TOKEN: ${{ secrets.TRAMVAI_GH_PAGES_PAT }}

- name: Publish docs
run: yarn docs:publish
env:
GIT_USER: ${{ secrets.TINKOFF_BOT_PAT }}
GIT_USER: ${{ secrets.TRAMVAI_GH_PAGES_PAT }}

0 comments on commit 721d976

Please sign in to comment.