Skip to content

post-agenda

post-agenda #135

Workflow file for this run

name: Post sync agenda
on:
workflow_dispatch:
repository_dispatch:
types:
- post-agenda
jobs:
post-agenda:
name: Post sync agenda to Zulip
runs-on: ubuntu-latest
container:
image: ghcr.io/ponylang/pony-sync-helper-ci-builder:release
steps:
- uses: actions/[email protected]
- name: Today's date
run: echo "DATE=$(date +%Y-%m-%d)" >> "$GITHUB_ENV"
- name: Build sync-helper
run: |
corral fetch
corral run -- ponyc -Dopenssl_0.9.0
- name: Run sync-helper
run: |
{
echo 'AGENDA<<EOF'
./pony-sync-helper --label "discuss during sync" --org ponylang --github_token "$PONY_SYNC_HELPER_GITHUB_TOKEN"
echo 'EOF'
} >> "$GITHUB_ENV"
env:
PONY_SYNC_HELPER_GITHUB_TOKEN: ${{ secrets.PONYLANG_MAIN_API_TOKEN }}
- name: Post agenda
uses: zulip/github-actions-zulip/send-message@08b6fbd07f5834e5b930a85bc7740e9fd44ab2e7
with:
api-key: ${{ secrets.ZULIP_SYNC_EVENT_API_KEY }}
email: ${{ secrets.ZULIP_SYNC_EVENT_EMAIL }}
organization-url: 'https://ponylang.zulipchat.com/'
to: sync
type: stream
topic: ${{ env.DATE }}
content: ${{ env.AGENDA }}