-
Notifications
You must be signed in to change notification settings - Fork 33
35 lines (34 loc) · 915 Bytes
/
release-bot.yml
File metadata and controls
35 lines (34 loc) · 915 Bytes
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
name: ReleaseBot
on:
workflow_dispatch:
push:
branches: ['develop']
schedule:
- cron: '30 8 * * 3'
jobs:
release-bot:
runs-on: ubuntu-latest
if: ${{ github.repository != 'sebbo2002/js-template' }}
permissions:
contents: write
pull-requests: write
steps:
- name: ☁️ Checkout Project
uses: actions/checkout@v6
- name: ☁️ Checkout ReleaseBot
uses: actions/checkout@v6
with:
repository: sebbo2002/release-bot
path: ./.actions/release-bot
- name: 🔧 Setup node
uses: actions/setup-node@v6
with:
node-version: '20'
cache: 'npm'
- name: 📦 Install Dependencies
run: npm ci
working-directory: ./.actions/release-bot
- name: 🤖 Run ReleaseBot
uses: ./.actions/release-bot
with:
token: ${{ secrets.GITHUB_TOKEN }}