name: GitHub Security Alerts for Jira

on:
  schedule:
    - cron: '0 */1 * * *'

jobs:
  syncSecurityAlerts:
    runs-on: ubuntu-latest
    steps:
      - name: "Sync security alerts to Jira issues"
        uses: reload/github-security-jira@v1.x
        env:
          GH_SECURITY_TOKEN: ${{ secrets.GH_TOKEN }}
          JIRA_TOKEN: ${{ secrets.JIRA_TOKEN }}
          JIRA_HOST: ${{ secrets.JIRA_HOST_URL }}
          JIRA_USER: ${{ secrets.JIRA_USER }}
          JIRA_PROJECT: SEC
          JIRA_ISSUE_TYPE: Bug
          JIRA_RESTRICTED_COMMENT_ROLE: Administrator

name: GitHub Security Alerts for Jira

on:
  schedule:
    - cron: '0 */6 * * *'

jobs:
  syncSecurityAlerts:
    runs-on: ubuntu-latest
    steps:
      - name: "Sync security alerts to Jira issues"
        uses: reload/github-security-jira@v1.x
        env:
          GH_SECURITY_TOKEN: ${{ secrets.GH_TOKEN }}
          JIRA_TOKEN: ${{ secrets.JIRA_TOKEN }}
          JIRA_HOST: ${{ secrets.JIRA_HOST_URL }}
          JIRA_USER: ${{ secrets.JIRA_USER }}
          JIRA_PROJECT: SEC
          JIRA_ISSUE_TYPE: Bug
          JIRA_RESTRICTED_COMMENT_ROLE: Administrator

Change security sync to every 6 hours
Change security sync to every 6 hours