Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: move app checkout step to the front and use token for checkout #42

Merged
merged 1 commit into from
Jan 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,6 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Setup Node, Yarn, and Turbo
uses: ./.github/actions/ts-setup
with:
npm-token: ${{ secrets.NPM_TOKEN }}

- name: Build
run: yarn build

- name: Get App Token
id: app-token
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
Expand All @@ -62,6 +51,19 @@ jobs:
git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com>'
git config --global format.signOff true

- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
token: ${{ steps.app-token.outputs.token }}

- name: Setup Node, Yarn, and Turbo
uses: ./.github/actions/ts-setup
with:
npm-token: ${{ secrets.NPM_TOKEN }}

- name: Build
run: yarn build

- name: Version or Publish
id: changesets
uses: changesets/action@c8bada60c408975afd1a20b3db81d6eee6789308
Expand Down
Loading