Log Management #598
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: Log Management | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "5 3 * * *" | |
jobs: | |
run_log_management: | |
runs-on: ubuntu-latest | |
name: Run log management steps | |
steps: | |
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 | |
- name: Workflow Housekeeper - workflows NOT in default branch | |
uses: JosiahSiegel/workflow-housekeeper@731cc20bb613208b34efb6ac74aab4ba147abb50 | |
## DevSecOps - Aquia (Replace) - uses: ./.github/actions/workflow-housekeeper | |
env: | |
GITHUB_TOKEN: ${{ secrets.LOG_MANAGEMENT_TOKEN }} | |
with: | |
ignore-branch-workflows: true | |
retention-time: '2 days' | |
retain-run-count: 0 | |
dry-run: false | |
- name: Workflow Housekeeper - workflows in default branch | |
uses: JosiahSiegel/workflow-housekeeper@731cc20bb613208b34efb6ac74aab4ba147abb50 | |
## DevSecOps - Aquia (Replace) - uses: ./.github/actions/workflow-housekeeper | |
env: | |
GITHUB_TOKEN: ${{ secrets.LOG_MANAGEMENT_TOKEN }} | |
with: | |
ignore-branch-workflows: false | |
retention-time: '2 months' | |
retain-run-count: 1 | |
dry-run: false |