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/[email protected] | |
- name: Setup PHP | |
uses: shivammathur/[email protected] | |
- name: Install | |
uses: ramsey/[email protected] | |
- 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 |