update all forks #430
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: update all forks | |
on: | |
workflow_dispatch: | |
schedule: | |
# * is a special character in YAML, so you have to quote this string | |
# every day | |
- cron: '0 23 * * *' | |
jobs: | |
update-forks: | |
name: update forks | |
if: | | |
github.repository == 'iobroker-archive/.admin' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- run: npm i | |
- run: npm run updateForks | |
env: | |
OWN_GITHUB_TOKEN: ${{ secrets.OWN_GITHUB_TOKEN }} |