Skip to content

Open RFCs

Open RFCs #557

Workflow file for this run

name: Open RFCs
on:
workflow_dispatch:
schedule:
- cron: '0 14 * * MON,WED,FRI'
jobs:
open-rfcs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Setup Node.JS
uses: actions/setup-node@v2
with:
node-version: '12'
- name: Install Dependencies
run: npm install --global @artsy/cli@0.26.1
- name: Run CLI
id: cli
run: echo "PAYLOAD=$(artsy scheduled:rfcs)" >> "$GITHUB_OUTPUT"
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Open RFCs > Slack
uses: 8398a7/action-slack@v3
with:
status: custom
custom_payload: ${{steps.cli.outputs.PAYLOAD}}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}