]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Set status of new PRs to "Needs Review" 1397/head
authorQuinn Casey <quinn@quinncasey.com>
Thu, 11 Aug 2022 17:10:08 +0000 (10:10 -0700)
committerQuinn Casey <quinn@quinncasey.com>
Thu, 11 Aug 2022 17:10:08 +0000 (10:10 -0700)
.github/workflows/project-actions.yml

index e6826f7b7fa0d4a746306249e8a6f61442a7f0a9..91f8f27db368e6d63d39b60b0fcd3441dd8d6381 100644 (file)
@@ -27,7 +27,7 @@ jobs:
     runs-on: ubuntu-latest
     if: github.event_name == 'issues' && (github.event.action == 'opened' || github.event.action == 'reopened')
     steps:
-      - name: Set issue status to ${{ env.todo }}
+      - name: Add issue to project and set status to ${{ env.todo }}
         uses: leonsteinhaeuser/project-beta-automations@v1.2.1
         with:
           gh_token: ${{ secrets.GH_TOKEN }}
@@ -43,14 +43,14 @@ jobs:
       pull-requests: write
     if: github.event_name == 'pull_request_target' && (github.event.action == 'opened' || github.event.action == 'reopened') && github.event.pull_request.user.login != "dependabot"
     steps:
-      - name: Set PR status to ${{ env.in_progress }}
+      - name: Add PR to project and set status to "Needs Review"
         uses: leonsteinhaeuser/project-beta-automations@v1.2.1
         with:
           gh_token: ${{ secrets.GH_TOKEN }}
           organization: paperless-ngx
           project_id: 2
           resource_node_id: ${{ github.event.pull_request.node_id }}
-          status_value: ${{ env.in_progress }} # Target status
+          status_value: "Needs Review" # Target status
       - name: Label PR with release-drafter
         uses: release-drafter/release-drafter@v5
         env: