Merge pull request #209 from sebbo2002/depfu/batch_dev/npm/2024-11-12 #387
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' }} | |
steps: | |
- name: ☁️ Checkout Project | |
uses: actions/checkout@v4 | |
- name: ☁️ Checkout ReleaseBot | |
uses: actions/checkout@v4 | |
with: | |
repository: sebbo2002/release-bot | |
path: ./.actions/release-bot | |
- name: 🔧 Setup node | |
uses: actions/setup-node@v4 | |
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.GH_TOKEN }} |