constellation/.github/workflows/docs-update-reference.yml
Fabian Kammel 224e48acf6
Minimal GitHub Action token permissions.
Signed-off-by: Fabian Kammel <fk@edgeless.systems>
2023-01-26 13:16:42 +00:00

28 lines
870 B
YAML

name: Create Pull Request for CLI reference update
on:
workflow_dispatch:
push:
branches:
- action/constellation/update-cli-reference
permissions:
contents: read
jobs:
pull-request:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
ref: ${{ !github.event.pull_request.head.repo.fork && github.head_ref || '' }}
- name: pull-request
uses: repo-sync/pull-request@65785d95a5a466e46a9d0708933a3bd51bbf9dde # tag=v2.6.2
with:
destination_branch: "main"
pr_title: "docs: update cli reference"
pr_body: |
:robot: *This is an automated PR.* :robot:
Changes in the CLI triggered this PR, it updates the corresponding documentation page.
github_token: ${{ secrets.GITHUB_TOKEN }}