mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-09 03:32:54 -05:00
Create wip (#2443)
* 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>
This commit is contained in:
27
.github/workflows/wip.yml
vendored
Normal file
27
.github/workflows/wip.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
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}"
|
||||
6
upcoming-release-notes/2443.md
Normal file
6
upcoming-release-notes/2443.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Maintenance
|
||||
authors: [carkom, twk3]
|
||||
---
|
||||
|
||||
Add WIP to new pull request titles
|
||||
Reference in New Issue
Block a user