mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2026-06-09 20:04:48 +00:00
Add weekly digest workflow
This commit is contained in:
31
.github/workflows/weekly-digest.yml
vendored
Normal file
31
.github/workflows/weekly-digest.yml
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
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
|
||||
Reference in New Issue
Block a user