-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (24 loc) · 1.09 KB
/
infosec-doc-review.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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