I know how to run a cron job on the first thursday of every month, as per this post: How to schedule a cron for the first Thursday of every month
I'm wanting to do this within a GitHub Action though, and I don't believe it supports the additional commands?
My yaml is as follows, but obviously the cron is completely wrong. Any suggestions?
name: daily-cron-job
on:
schedule:
- cron: '0 2 * * *'
jobs:
cron:
runs-on: ubuntu-latest
steps:
- name: populate-previous-month
run: |
curl --request POST \
--url 'https://example.com' \
--header 'Authorization: Bearer ${{ secrets.ACTION_KEY }}'