Infosec Docs Review Reminder #1
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: Infosec Docs Review Reminder | |
on: | |
schedule: | |
# Runs at midnight on January 1st and July 1st every year | |
- cron: '0 0 1 1,7 *' | |
workflow_dispatch: # Manual trigger option | |
permissions: | |
contents: write # Needed for creating issues and interacting with repos | |
issues: write # Needed to create and manage issues | |
jobs: | |
create-review-issue: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install GitHub CLI | |
run: sudo apt-get install gh | |
- name: Create Issue | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
ISSUE_BODY="It is time for the review of the Data Privacy and Information Security Manual and the Software Development Lifecycle Policies. Please ensure all sections are up to date and in compliance with current regulations. @yeatmanlab/roar-infosec-maintainers" | |
# Create the issue and mention the team | |
gh issue create --title "Review of Data Privacy and Information Security Manual" --body "$ISSUE_BODY" --assignee richford |