mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 12:43:09 -05:00
* Create wip.yml Adding WIP to new PRs * Create 2443.md notes * Update .github/workflows/wip.yml Co-authored-by: Matiss Janis Aboltins <matiss@mja.lv> * Update .github/workflows/wip.yml Co-authored-by: Matiss Janis Aboltins <matiss@mja.lv> * Update upcoming-release-notes/2443.md Co-authored-by: Matiss Janis Aboltins <matiss@mja.lv> * Update wip.yml * Update 2443.md * Update wip.yml --------- Co-authored-by: Matiss Janis Aboltins <matiss@mja.lv>
28 lines
750 B
YAML
28 lines
750 B
YAML
name: Add WIP
|
|
|
|
on:
|
|
pull_request_target:
|
|
types:
|
|
- opened
|
|
|
|
jobs:
|
|
add_wip_prefix:
|
|
if: |
|
|
join(github.event.pull_request.requested_reviewers) == ''
|
|
&& !contains(github.event.pull_request.title, 'WIP')
|
|
&& !contains(github.event.pull_request.labels.*.name, 'WIP')
|
|
&& github.event.pull_request.draft != true
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
pull-requests: write
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Add WIP
|
|
env:
|
|
TITLE: ${{ github.event.pull_request.title }}
|
|
shell: bash
|
|
run: |
|
|
echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token
|
|
gh pr edit ${{ github.event.pull_request.number }} -t "[WIP] ${TITLE}"
|