Weekly Digest #2
This file contains hidden or 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
| ###################################################################### | |
| # @CCOSTAN - Follow Me on X | |
| # For more info visit https://www.vcloudinfo.com/click-here | |
| # Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig | |
| # ------------------------------------------------------------------- | |
| # Weekly Digest Workflow - scheduled repository issue summary. | |
| # Runs the GitHub Actions workflow for weekly digest reporting. | |
| # ------------------------------------------------------------------- | |
| ###################################################################### | |
| name: Weekly Digest | |
| on: | |
| schedule: | |
| - cron: "37 6 * * 1" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| issues: write | |
| pull-requests: read | |
| jobs: | |
| weekly-digest: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Create weekly digest issue | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GITHUB_REPOSITORY: ${{ github.repository }} | |
| GITHUB_SERVER_URL: ${{ github.server_url }} | |
| GITHUB_API_URL: ${{ github.api_url }} | |
| run: node .github/scripts/weekly-digest.mjs |