generated from ubiquity/ts-template
-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (39 loc) · 1.28 KB
/
dev-start-program.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: DEV Start Program
on:
push:
branches:
- fix/actions-auth-2
permissions:
contents: write
pull-requests: write
jobs:
run-start:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ github.token }}
- name: Configure Git
run: |
# Set up credentials for authentication
git config --global credential.helper store
echo "https://x-access-token:${{ github.token }}@github.com" > ~/.git-credentials
chmod 600 ~/.git-credentials
# Set up commit identity
git config --global user.name "UbiquityOS Configurations Agent[bot]"
git config --global user.email "ubiquity-os[bot]@users.noreply.github.com"
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Run start script
run: bun run start "https://github.com/ubiquity/.ubiquity-os.git"
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
EDITOR_INSTRUCTION: "insert all missing defaults"
INTERACTIVE: "false"
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ github.token }}