Skip to content

Commit d36e18c

Browse files
committed
ci: Update devbox update workflow
1 parent 909b66a commit d36e18c

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.envrc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# Automatically sets up your devbox environment whenever you cd into this
22
# directory via our direnv integration:
33

4-
strict_env
5-
6-
export DEVBOX_NO_ENVRC_UPDATE=1
7-
84
eval "$(devbox generate direnv --print-envrc --env-file .dev-envrc)"
95

106
# check out https://www.jetpack.io/devbox/docs/ide_configuration/direnv/

.github/workflows/devbox-update.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: devbox-update
66
on:
77
workflow_dispatch:
88
schedule:
9-
- cron: "0 0 * * *"
9+
- cron: "0 0 * * 1"
1010

1111
permissions:
1212
contents: write
@@ -56,4 +56,7 @@ jobs:
5656
--field branch="${DESTINATION_BRANCH}" \
5757
--field sha="${SHA}"
5858
59-
gh pr create --base "${{ github.ref_name }}" --head "${DESTINATION_BRANCH}" --fill
59+
gh api --method POST "/repos/:owner/:repo/pulls" \
60+
--field title="${MESSAGE}" \
61+
--field head="${DESTINATION_BRANCH}" \
62+
--field base="${{ github.ref_name }}"

0 commit comments

Comments
 (0)