Guardian package usage tracker #101
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: Guardian package usage tracker | |
on: | |
schedule: | |
# Every work day of the week at 08:08 | |
- cron: '8 8 * * MON-FRI' | |
# Allows you to run this workflow manually from the Actions tab. | |
workflow_dispatch: | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
check-package-usage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# https://github.com/denoland/setup-deno#latest-stable-for-a-major | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Source tracker | |
run: | | |
deno run \ | |
--allow-read \ | |
--allow-net \ | |
--allow-sys=uid,gid \ | |
--allow-env \ | |
scripts/deno/source-tracker/mod.ts | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |