Update Helper #6960
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 Helper | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 */2 * * *" | |
jobs: | |
helper: | |
name: update-checker | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@master | |
- name: Set up Node.js | |
uses: actions/setup-node@master | |
with: | |
node-version: 18.0.0 | |
- name: Install Github Actions toolkit | |
run: npm i gh-helpers | |
working-directory: .github/helper-bot | |
# The env vars contain the relevant trigger information, so we don't need to pass it | |
- name: Runs helper | |
run: cd .github/helper-bot && node index.js | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |