Merge pull request #530 from sebbo2002/template-updater/update #432
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@v3 | |
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 }} |