Update Versions #431
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 Versions | |
on: | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
Update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Run script | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
deno run \ | |
--allow-read=.env,.env.defaults,versions.json \ | |
--allow-write=.env,.env.defaults,versions.json,README.md \ | |
--allow-env=GITHUB_TOKEN \ | |
--allow-net=api.github.com,raw.githubusercontent.com \ | |
index.ts | |
- name: Update repo | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Update to latest versions | |
commit_user_name: actions-user | |
commit_user_email: [email protected] | |
commit_author: actions-user <[email protected]> |