Skip to content

Commit

Permalink
ci: Create draft PRs by action and set PR types
Browse files Browse the repository at this point in the history
This is a workaround because the create-pull-request action uses the
repository's GitHub token and cannot trigger further workflow runs.

See https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs

opened, edited, synchronize are the default; reopened is for convenience

Add ready_for_review as per the recommendation here https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs
  • Loading branch information
bbhtt committed Sep 6, 2024
1 parent 71791f4 commit 554a115
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- master
pull_request:
types: [opened, edited, reopened, synchronize, ready_for_review]

permissions:
contents: read
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-flatpak-builder-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,4 @@ jobs:
Update Flatpak Builder docs from ${{env.OLD_FLATPAK_BUILDER_VERSION}} to ${{env.NEW_FLATPAK_BUILDER_VERSION}}
delete-branch: true
sign-commits: true
draft: always-true
1 change: 1 addition & 0 deletions .github/workflows/update-flatpak-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,4 @@ jobs:
Update Flatpak docs from ${{env.OLD_FLATPAK_VERSION}} to ${{env.NEW_FLATPAK_VERSION}}
delete-branch: true
sign-commits: true
draft: always-true

0 comments on commit 554a115

Please sign in to comment.