Populate Feed #78
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
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * 0' | |
name: Populate Feed | |
permissions: | |
contents: write | |
pull-requests: write | |
issues: read | |
packages: none | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Collect Releases | |
run: npm run collect:releases | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Collect Issues (Comments) | |
run: npm run collect:issues | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Collect Discussions (Comments) | |
run: npm run collect:discussions | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Collect Retrospective | |
run: npm run collect:retrospective | |
- name: RSS Build | |
run: npm run rss:build | |
- name: RSS Format | |
run: npm run rss:format | |
- name: RSS Validate | |
run: npm run rss:validate | |
- name: Build website | |
run: npm run website:build | |
- name: Create Pull Request | |
uses: gr2m/create-or-update-pull-request-action@77596e3166f328b24613f7082ab30bf2d93079d5 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
commit-message: 'chore: updated feed data' | |
title: Feed Updated 🍿 | |
body: 'Feed data Updated. cc: @ulisesGascon @mhdawson' | |
assignees: ${{ github.actor }} | |
labels: content-update | |
branch: feed-update | |
update-pull-request-title-and-body: true |