Skip to content

Commit

Permalink
fix: Use personal access token on release-please CI
Browse files Browse the repository at this point in the history
  • Loading branch information
neet committed Apr 23, 2024
1 parent ab197c5 commit 2c6c0be
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "CI"
name: ci

on:
push:
Expand All @@ -12,7 +12,7 @@ on:

jobs:
test-unit:
name: Unit Test
name: unit
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}

test-e2e:
name: E2E Test
name: e2e
runs-on: ubuntu-latest

steps:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Documentation
name: docs

on:
push:
Expand All @@ -12,6 +12,7 @@ permissions:

jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -37,6 +38,7 @@ jobs:
path: "./docs"

deploy:
name: deploy
runs-on: ubuntu-latest
needs: build
environment:
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ on:
branches:
- main

permissions:
contents: write
pull-requests: write

name: release-please

jobs:
Expand All @@ -16,5 +12,5 @@ jobs:
steps:
- uses: google-github-actions/release-please-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: simple
token: ${{ secrets.GH_PAT }}
release-type: node
5 changes: 3 additions & 2 deletions .github/workflows/size-limit.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# https://github.com/andresz1/size-limit-action
name: "CI (size-limit)"
name: size-limit
on:
pull_request:
branches:
- main
jobs:
size:
check:
name: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 2c6c0be

Please sign in to comment.