added systemd-analyze.yaml
31d0176b
Hari Sekhon
committed
1 changed file
systemd-analyze.yaml
/.github/workflows/systemd-analyze.yaml+61
/.github/workflows/systemd-analyze.yaml
Add comment 1 Plus  #
Add comment 2 Plus  # Author: Hari Sekhon
Add comment 3 Plus  # Date: 2024-10-09 06:34:51 +0300 (Wed, 09 Oct 2024)
Add comment 4 Plus  #
Add comment 5 Plus  # vim:ts=2:sts=2:sw=2:et
Add comment 6 Plus  #
Add comment 7 Plus  # https://github.com/HariSekhon/Ansible
Add comment 8 Plus  #
Add comment 9 Plus  # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback
Add comment 10 Plus  #
Add comment 11 Plus  # https://www.linkedin.com/in/HariSekhon
Add comment 12 Plus  #
Add comment 13 Plus  
Add comment 14 Plus  # ============================================================================ #
Add comment 15 Plus  # S y s t e m d A n a l y z e
Add comment 16 Plus  # ============================================================================ #
Add comment 17 Plus  
Add comment 18 Plus  ---
Add comment 19 Plus  name: Systemd-Analyze Verify
Add comment 20 Plus  
Add comment 21 Plus  on:
Add comment 22 Plus   push:
Add comment 23 Plus   branches:
Add comment 24 Plus   - master
Add comment 25 Plus   - main
Add comment 26 Plus   paths:
Add comment 27 Plus   - '**/*.service'
Add comment 28 Plus   - .github/workflows/systemd-analyze.yaml
Add comment 29 Plus   pull_request:
Add comment 30 Plus   branches:
Add comment 31 Plus   - master
Add comment 32 Plus   - main
Add comment 33 Plus   paths:
Add comment 34 Plus   - '**/*.service'
Add comment 35 Plus   - .github/workflows/systemd-analyze.yaml
Add comment 36 Plus   workflow_dispatch:
Add comment 37 Plus   inputs:
Add comment 38 Plus   debug:
Add comment 39 Plus   type: boolean
Add comment 40 Plus   required: false
Add comment 41 Plus   default: false
Add comment 42 Plus   schedule:
Add comment 43 Plus   - cron: '0 0 * * 1'
Add comment 44 Plus  
Add comment 45 Plus  permissions:
Add comment 46 Plus   contents: read
Add comment 47 Plus  
Add comment 48 Plus  concurrency:
Add comment 49 Plus   group: ${{ github.ref }}-${{ github.workflow }}
Add comment 50 Plus   cancel-in-progress: true
Add comment 51 Plus  
Add comment 52 Plus  jobs:
Add comment 53 Plus   systemd_analyze_verify:
Add comment 54 Plus   # github.event.repository context not available in scheduled workflows
Add comment 55 Plus   #if: github.event.repository.fork == false
Add comment 56 Plus   if: github.repository_owner == 'HariSekhon'
Add comment 57 Plus   name: Systemd-Analyze Verify
Add comment 58 Plus   uses: HariSekhon/GitHub-Actions/.github/workflows/systemd-analyze.yaml@master
Add comment 59 Plus   with:
Add comment 60 Plus   debug: ${{ github.event.inputs.debug }}
Add comment 61 Plus