mirror of
https://github.com/pestphp/pest.git
synced 2026-03-12 10:47:25 +01:00
19
.github/workflows/changelog.yml
vendored
19
.github/workflows/changelog.yml
vendored
@ -1,21 +1,28 @@
|
|||||||
name: Update documentation CHANGELOG
|
name: Changelog
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
paths:
|
paths:
|
||||||
- CHANGELOG.md
|
- CHANGELOG.md
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
paths:
|
||||||
|
- CHANGELOG.md
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Add file to filesystem
|
- name: Checkout website repository
|
||||||
run: |
|
uses: actions/checkout@v2
|
||||||
git clone https://github.com/pestphp/website pestphp-website
|
with:
|
||||||
cp CHANGELOG.md pestphp-website/source/docs
|
token: ${{ secrets.CHANGELOG_KEY }}
|
||||||
shell: bash
|
repository: pestphp/website
|
||||||
|
path: pestphp-website
|
||||||
|
- name: Copy CHANGELOG to website repository
|
||||||
|
run: cp CHANGELOG.md pestphp-website/source/docs/changelog.md
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v2
|
uses: peter-evans/create-pull-request@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user