Scheduled task security.txt reminder (#461)

This commit is contained in:
Daniel Z
2022-11-24 17:08:08 -08:00
committed by GitHub
parent 15dab6b61c
commit 3d55842791

19
.github/workflows/reminder.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Yearly update security.txt
on:
workflow_dispatch:
schedule:
- cron: "0 0 1 11 *"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
create-issue:
name: Create issue
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Create issue
run: |
gh issue create --repo '${{ github.repository }}' --title 'Update `security.txt` expiration date' --body 'This is the yearly reminder to update `.well-known/security.txt`'