Skip to content

Merge pull request #5581 from Automattic/develop #84

Merge pull request #5581 from Automattic/develop

Merge pull request #5581 from Automattic/develop #84

name: Changelog Summary - Staging
on:
push:
branches:
- staging
workflow_dispatch:
permissions:
contents: read
pull-requests: write
jobs:
execute:
name: Run Summary Generator
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4.1.5
- name: Setup PHP
uses: shivammathur/setup-php@2.30.4
- name: Install
uses: ramsey/composer-install@3.0.0
- name: Execute
env:
CHANGELOG_POST_TOKEN: ${{ secrets.CHANGELOG_BEARER_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
PROJECT_USERNAME: Automattic
PROJECT_REPONAME: vip-go-mu-plugins
BRANCH: ${{ github.ref_name }}
run: |
php ./ci/changelog-summary.php \
--wp-endpoint=https://public-api.wordpress.com/wp/v2/sites/wpvipchangelog.wordpress.com/posts \
--wp-status=draft \
--debug