.github/workflows/archive-issues-actions.yml #7
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: archive issues cron job | |
on: | |
schedule: | |
- cron: "0 * * * *" # Adjust the cron schedule as needed | |
jobs: | |
call-api: | |
runs-on: ubuntu-latest | |
steps: | |
- name: archive issues cron job | |
run: | | |
curl -H "Authorization: Bearer ${{ secrets.FILE_APP_UPLOADER_MIDDLEWARE_TOKEN }}" https://your-server/api/path |