chore(ci): update release flow with new service account (#238)

This commit is contained in:
Cedric van Putten authored and GitHub committed 2023-11-17 22:15:51 +01:00
1 parent 9d16a997a4
commit e289d93e11
1 file changed
+13 -2
+13 -2
View File
@@ -54,7 +54,11 @@ jobs:
- name: 📋 Release code
run: yarn semantic-release
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ secrets.EXPOBOT_GITHUB_TOKEN }}
GIT_AUTHOR_NAME: Expo CI
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_NAME: Expo CI
GIT_COMMITTER_EMAIL: [email protected]
tags:
needs: publish
@@ -62,6 +66,8 @@ jobs:
steps:
- name: 🏗 Setup repo
uses: actions/checkout@v3
with:
token: ${{ secrets.EXPOBOT_GITHUB_TOKEN }}
- name: 🏗 Setup Node
uses: actions/setup-node@v3
@@ -70,7 +76,7 @@ jobs:
cache: yarn
- name: 👷 Force repo to latest
runs: git fetch --all && git pull
run: git fetch --all && git pull
- name: 📦 Install dependencies
run: yarn install --frozen-lockfile
@@ -88,6 +94,11 @@ jobs:
const { version } = require('./package.json')
return semver.major(version)
- name: 👷 Configure git
run: |
git config user.name "Expo CI"
git config user.email "[email protected]"
- name: 🧹 Clean repo
run: git clean . -xdf && git reset --hard HEAD && git pull && git fetch --tags