-
-
Notifications
You must be signed in to change notification settings - Fork 22
36 lines (33 loc) · 1.08 KB
/
preview-embroider-upgrade.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
name: Preview Embroider Upgrade
on:
workflow_dispatch:
schedule:
# Runs "at minute 0 minutes past midnight" (see https://crontab.guru)
- cron: '0 0 * * *'
env:
branch: "preview-embroider-upgrade"
title: "[Unstable] Preview embroider upgrade"
body: |
Automated and continuously updated PR (nightly via cron)
_Do not merge_
commit: "Update all embroider deps to the unstable version (main)"
jobs:
update_unstable_branch:
name: Update Unstable Branch
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- run: npx ember-apply@latest unstable-embroider
- run: pnpm install --fix-lockfile --frozen-lockfile=false
- uses: peter-evans/create-pull-request@v7
with:
# A PAT is required to trigger further workflows
token: ${{ secrets.WORKFLOW_TOKEN }}
commit-message: ${{ env.commit }}
draft: true
branch: ${{ env.branch }}
base: 'main'
title: ${{ env.title }}
body: ${{ env.body }}