.github/workflows/stats-cron-job.yml
raw| 1 | name: stats-cron-job |
| 2 | |
| 3 | on: |
| 4 | schedule: |
| 5 | - cron: '30 23 * * 2' |
| 6 | |
| 7 | permissions: |
| 8 | contents: read |
| 9 | |
| 10 | jobs: |
| 11 | stats: |
| 12 | runs-on: ubuntu-20.04 |
| 13 | steps: |
| 14 | - name: Harden Runner |
| 15 | uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 |
| 16 | with: |
| 17 | egress-policy: audit |
| 18 | |
| 19 | - name: stats |
| 20 | run: | |
| 21 | curl https://hetthbszh0.execute-api.us-east-2.amazonaws.com/default/pcm-clones |