Merge pull request #5903 from Automattic/develop #110
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
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.2.0 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@2.30.5 | |
- 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 |