2022-09-02 11:52:42 +02:00
|
|
|
name: Create Pull Request for CLI reference update
|
|
|
|
on:
|
2022-10-12 10:50:06 +02:00
|
|
|
workflow_dispatch:
|
2022-09-02 11:52:42 +02:00
|
|
|
push:
|
|
|
|
branches:
|
2022-09-09 09:51:42 +02:00
|
|
|
- action/constellation/update-cli-reference
|
2022-09-02 11:52:42 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
pull-request:
|
2022-11-10 16:55:24 +01:00
|
|
|
runs-on: ubuntu-22.04
|
2022-09-02 11:52:42 +02:00
|
|
|
steps:
|
2023-01-05 16:17:51 +01:00
|
|
|
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
|
2022-11-10 17:22:26 +01:00
|
|
|
with:
|
2022-12-19 15:21:28 +01:00
|
|
|
ref: ${{ !github.event.pull_request.head.repo.fork && github.head_ref || '' }}
|
2022-11-10 17:22:26 +01:00
|
|
|
|
2022-09-09 09:51:42 +02:00
|
|
|
- name: pull-request
|
2022-10-12 18:05:58 +02:00
|
|
|
uses: repo-sync/pull-request@65785d95a5a466e46a9d0708933a3bd51bbf9dde # tag=v2.6.2
|
2022-09-09 09:51:42 +02:00
|
|
|
with:
|
|
|
|
destination_branch: "main"
|
2023-01-12 18:13:25 +01:00
|
|
|
pr_title: "docs: update cli reference"
|
2022-09-09 09:51:42 +02:00
|
|
|
pr_body: |
|
|
|
|
:robot: *This is an automated PR.* :robot:
|
2023-01-12 18:13:25 +01:00
|
|
|
|
|
|
|
Changes in the CLI triggered this PR, it updates the corresponding documentation page.
|
2022-09-09 09:51:42 +02:00
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|