-
Notifications
You must be signed in to change notification settings - Fork 1.5k
39 lines (35 loc) · 1.07 KB
/
daily-alpha.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
name: Release daily alpha
on:
schedule:
- cron: 0 0 30 * 1-5 # At 12:30am UTC work day
workflow_dispatch: # for testing
jobs:
create-alpha-release-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://npm.pkg.github.com"
- name: Install specific npm version
run: npm install -g npm@^9.6.7
- name: Install deps
run: |
npm install
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create PR
run: |
git config --local user.email "[email protected]"
git config --local user.name "K8s Lens Bot"
npm run create-release-pr
env:
BUMP_PACKAGE_ARGS: -- --conventional-commits --conventional-prerelease --yes
PICK_ALL_PRS: "true"
FAIL_ON_NO_CHANGES: "false"
GH_TOKEN: ${{ secrets.GH_TOKEN }}