name: My first cloud check

on:
  workflow_dispatch:
  # After a successful manual test, remove the next three comment markers.
  # schedule:
  #   - cron: '17 7 * * 1-5'
  #     timezone: 'America/Denver'

permissions: {}

concurrency:
  group: first-cloud-check
  cancel-in-progress: false

jobs:
  receipt:
    runs-on: ubuntu-latest
    timeout-minutes: 2
    steps:
      - name: Leave a receipt
        shell: bash
        run: |
          set -euo pipefail
          {
            printf '# Your cloud job ran\n\n'
            printf 'This is a scheduling test, not an AI-generated report.\n\n'
            printf 'Started at: %s UTC\n\n' "$(date -u '+%Y-%m-%d %H:%M:%S')"
            printf 'Computer: a GitHub-hosted Linux runner.\n'
          } >> "$GITHUB_STEP_SUMMARY"
