From 3ceaa7593257d0b9e7c4d267ac98a01b1bed7243 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Thu, 3 Apr 2025 10:28:10 +0200 Subject: [PATCH 01/16] feat: assign issue or PR to project on setting milestone --- .../99-assign-to-project-on-milestone-set.yml | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/99-assign-to-project-on-milestone-set.yml diff --git a/.github/workflows/99-assign-to-project-on-milestone-set.yml b/.github/workflows/99-assign-to-project-on-milestone-set.yml new file mode 100644 index 0000000..2aa5650 --- /dev/null +++ b/.github/workflows/99-assign-to-project-on-milestone-set.yml @@ -0,0 +1,34 @@ +name: Assign to Project on Milestone Set + +on: + issues: + types: [milestoned] + pull_request: + types: [milestoned] + +jobs: + assign_to_project: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Assign issue or PR to project if milestone set + run: | + # Set variables + ISSUE_OR_PR=${{ github.event.issue || github.event.pull_request }} + + # Directly set the project ID here + PROJECT_ID="18" + + # Get the repository details + REPO_NAME=${{ github.repository }} + + # If project ID exists, assign the issue or PR to the project + if [ -n "$PROJECT_ID" ]; then + curl -s -X POST -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ + -d "{\"project_url\": \"https://api.github.com/repos/$REPO_NAME/projects/$PROJECT_ID\", \"content_id\": \"$ISSUE_OR_PR\", \"content_type\": \"issue\"}" \ + "https://api.github.com/repos/$REPO_NAME/projects/$PROJECT_ID/columns/cards" + else + echo "Project ID not found!" + fi From 870ed7829a23c8706ad44a888d2a51a2ad6ab51f Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Thu, 3 Apr 2025 10:29:50 +0200 Subject: [PATCH 02/16] Update pull-request.yml --- .github/workflows/pull-request.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 5f87107..61327b3 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -30,3 +30,6 @@ jobs: labeler: if: github.event.pull_request.head.repo.owner.login == 'db-ux-design-system' uses: ./.github/workflows/99-labeler.yml + + project-on-milestone-assignment: + uses: ./.github/workflows/99-assign-to-project-on-milestone-set.yml From c06e384f196507399e20385f38f98b670d521e5b Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Thu, 3 Apr 2025 10:41:15 +0200 Subject: [PATCH 03/16] Update 99-assign-to-project-on-milestone-set.yml --- .../99-assign-to-project-on-milestone-set.yml | 27 ++++++++++--------- 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/.github/workflows/99-assign-to-project-on-milestone-set.yml b/.github/workflows/99-assign-to-project-on-milestone-set.yml index 2aa5650..40447c5 100644 --- a/.github/workflows/99-assign-to-project-on-milestone-set.yml +++ b/.github/workflows/99-assign-to-project-on-milestone-set.yml @@ -9,26 +9,29 @@ on: jobs: assign_to_project: runs-on: ubuntu-latest + steps: - name: Checkout code uses: actions/checkout@v4 - name: Assign issue or PR to project if milestone set run: | - # Set variables + # Get the issue or PR number ISSUE_OR_PR=${{ github.event.issue || github.event.pull_request }} - - # Directly set the project ID here - PROJECT_ID="18" + ISSUE_NUMBER=${ISSUE_OR_PR.number} - # Get the repository details - REPO_NAME=${{ github.repository }} + # Directly set the project ID + PROJECT_ID="18" - # If project ID exists, assign the issue or PR to the project - if [ -n "$PROJECT_ID" ]; then - curl -s -X POST -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ - -d "{\"project_url\": \"https://api.github.com/repos/$REPO_NAME/projects/$PROJECT_ID\", \"content_id\": \"$ISSUE_OR_PR\", \"content_type\": \"issue\"}" \ - "https://api.github.com/repos/$REPO_NAME/projects/$PROJECT_ID/columns/cards" + # If a milestone is set, assign it to the project + if [ -n "${{ github.event.milestone }}" ]; then + gh api \ + --method POST \ + -H "Accept: application/vnd.github.v3+json" \ + /repos/${{ github.repository }}/projects/columns/cards \ + -f content_id=${ISSUE_NUMBER} \ + -f content_type=issue \ + -f project_id=${PROJECT_ID} else - echo "Project ID not found!" + echo "No milestone set, skipping assignment." fi From bd5de9fa7231adfa853d66e1e5499b8c9fe0453c Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Thu, 3 Apr 2025 10:46:57 +0200 Subject: [PATCH 04/16] Update 99-assign-to-project-on-milestone-set.yml --- .../99-assign-to-project-on-milestone-set.yml | 24 ++++++++++++------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/99-assign-to-project-on-milestone-set.yml b/.github/workflows/99-assign-to-project-on-milestone-set.yml index 40447c5..02f92e7 100644 --- a/.github/workflows/99-assign-to-project-on-milestone-set.yml +++ b/.github/workflows/99-assign-to-project-on-milestone-set.yml @@ -16,22 +16,30 @@ jobs: - name: Assign issue or PR to project if milestone set run: | - # Get the issue or PR number - ISSUE_OR_PR=${{ github.event.issue || github.event.pull_request }} - ISSUE_NUMBER=${ISSUE_OR_PR.number} + # Extract the issue or PR number + if [ "${{ github.event.issue }}" ]; then + ISSUE_NUMBER=${{ github.event.issue.number }} + elif [ "${{ github.event.pull_request }}" ]; then + ISSUE_NUMBER=${{ github.event.pull_request.number }} + fi + + # Directly set the project ID here + PROJECT_ID="18" # Replace with your actual project ID - # Directly set the project ID - PROJECT_ID="18" + # Get the repository details + REPO_NAME=${{ github.repository }} # If a milestone is set, assign it to the project if [ -n "${{ github.event.milestone }}" ]; then + echo "Assigning issue/PR #$ISSUE_NUMBER to project..." + gh api \ --method POST \ -H "Accept: application/vnd.github.v3+json" \ - /repos/${{ github.repository }}/projects/columns/cards \ - -f content_id=${ISSUE_NUMBER} \ + /repos/$REPO_NAME/projects/columns/cards \ + -f content_id=$ISSUE_NUMBER \ -f content_type=issue \ - -f project_id=${PROJECT_ID} + -f project_id=$PROJECT_ID else echo "No milestone set, skipping assignment." fi From 1b7163fb02e958ee01ab172b3e61ba639167588c Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Thu, 3 Apr 2025 10:50:34 +0200 Subject: [PATCH 05/16] Update 99-assign-to-project-on-milestone-set.yml --- .github/workflows/99-assign-to-project-on-milestone-set.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/99-assign-to-project-on-milestone-set.yml b/.github/workflows/99-assign-to-project-on-milestone-set.yml index 02f92e7..23e5638 100644 --- a/.github/workflows/99-assign-to-project-on-milestone-set.yml +++ b/.github/workflows/99-assign-to-project-on-milestone-set.yml @@ -15,6 +15,8 @@ jobs: uses: actions/checkout@v4 - name: Assign issue or PR to project if milestone set + env: + GH_TOKEN: ${{ github.token }} run: | # Extract the issue or PR number if [ "${{ github.event.issue }}" ]; then From 5053a5c37f6fe27cad28e2f1b65fda60ebd1ff78 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Thu, 3 Apr 2025 10:54:53 +0200 Subject: [PATCH 06/16] Update 99-assign-to-project-on-milestone-set.yml --- .../99-assign-to-project-on-milestone-set.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/99-assign-to-project-on-milestone-set.yml b/.github/workflows/99-assign-to-project-on-milestone-set.yml index 23e5638..fe34750 100644 --- a/.github/workflows/99-assign-to-project-on-milestone-set.yml +++ b/.github/workflows/99-assign-to-project-on-milestone-set.yml @@ -16,7 +16,7 @@ jobs: - name: Assign issue or PR to project if milestone set env: - GH_TOKEN: ${{ github.token }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Explicitly set GH_TOKEN for `gh` CLI run: | # Extract the issue or PR number if [ "${{ github.event.issue }}" ]; then @@ -25,8 +25,8 @@ jobs: ISSUE_NUMBER=${{ github.event.pull_request.number }} fi - # Directly set the project ID here - PROJECT_ID="18" # Replace with your actual project ID + # Directly set the column ID here (replace with the actual column ID) + COLUMN_ID="18" # Get the repository details REPO_NAME=${{ github.repository }} @@ -38,10 +38,9 @@ jobs: gh api \ --method POST \ -H "Accept: application/vnd.github.v3+json" \ - /repos/$REPO_NAME/projects/columns/cards \ + /repos/$REPO_NAME/projects/columns/$COLUMN_ID/cards \ -f content_id=$ISSUE_NUMBER \ - -f content_type=issue \ - -f project_id=$PROJECT_ID + -f content_type=issue else echo "No milestone set, skipping assignment." fi From 53992b3a7146953fc53e2b685cdc2daf6ea0a64c Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Thu, 3 Apr 2025 10:58:05 +0200 Subject: [PATCH 07/16] Update 99-assign-to-project-on-milestone-set.yml --- .../99-assign-to-project-on-milestone-set.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/99-assign-to-project-on-milestone-set.yml b/.github/workflows/99-assign-to-project-on-milestone-set.yml index fe34750..04d0755 100644 --- a/.github/workflows/99-assign-to-project-on-milestone-set.yml +++ b/.github/workflows/99-assign-to-project-on-milestone-set.yml @@ -16,7 +16,7 @@ jobs: - name: Assign issue or PR to project if milestone set env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Explicitly set GH_TOKEN for `gh` CLI + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Ensure we pass GITHUB_TOKEN for authentication run: | # Extract the issue or PR number if [ "${{ github.event.issue }}" ]; then @@ -26,7 +26,7 @@ jobs: fi # Directly set the column ID here (replace with the actual column ID) - COLUMN_ID="18" + COLUMN_ID="18" # Replace with your actual column ID # Get the repository details REPO_NAME=${{ github.repository }} @@ -35,12 +35,12 @@ jobs: if [ -n "${{ github.event.milestone }}" ]; then echo "Assigning issue/PR #$ISSUE_NUMBER to project..." - gh api \ - --method POST \ + # Use curl to create a card in the specified project column + curl -X POST \ + -H "Authorization: token $GITHUB_TOKEN" \ -H "Accept: application/vnd.github.v3+json" \ - /repos/$REPO_NAME/projects/columns/$COLUMN_ID/cards \ - -f content_id=$ISSUE_NUMBER \ - -f content_type=issue + -d "{\"content_id\": \"$ISSUE_NUMBER\", \"content_type\": \"Issue\"}" \ + "https://api.github.com/repos/$REPO_NAME/projects/columns/$COLUMN_ID/cards" else echo "No milestone set, skipping assignment." fi From 87d1259cc673d41cc716b2d27dd41f4bd8c63e3e Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Thu, 3 Apr 2025 11:00:56 +0200 Subject: [PATCH 08/16] Update 99-assign-to-project-on-milestone-set.yml --- .../99-assign-to-project-on-milestone-set.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/99-assign-to-project-on-milestone-set.yml b/.github/workflows/99-assign-to-project-on-milestone-set.yml index 04d0755..4ef0957 100644 --- a/.github/workflows/99-assign-to-project-on-milestone-set.yml +++ b/.github/workflows/99-assign-to-project-on-milestone-set.yml @@ -14,9 +14,17 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Debug Information + run: | + echo "Repository: ${{ github.repository }}" + echo "Event: ${{ github.event_name }}" + echo "Issue Number: ${{ github.event.issue.number }}" + echo "Pull Request Number: ${{ github.event.pull_request.number }}" + echo "Milestone: ${{ github.event.milestone.title }}" + - name: Assign issue or PR to project if milestone set env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Ensure we pass GITHUB_TOKEN for authentication + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Pass the GITHUB_TOKEN for authentication run: | # Extract the issue or PR number if [ "${{ github.event.issue }}" ]; then @@ -25,11 +33,16 @@ jobs: ISSUE_NUMBER=${{ github.event.pull_request.number }} fi + # Output values for debugging + echo "Issue/PR Number: $ISSUE_NUMBER" + echo "Milestone: ${{ github.event.milestone.title }}" + # Directly set the column ID here (replace with the actual column ID) - COLUMN_ID="18" # Replace with your actual column ID + COLUMN_ID="18" # Get the repository details REPO_NAME=${{ github.repository }} + echo "Repository Name: $REPO_NAME" # If a milestone is set, assign it to the project if [ -n "${{ github.event.milestone }}" ]; then From 4a76fcda29ee1ec12970fdd7bc9ba1ff8078d94a Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Thu, 3 Apr 2025 11:10:49 +0200 Subject: [PATCH 09/16] Update 99-assign-to-project-on-milestone-set.yml --- .../99-assign-to-project-on-milestone-set.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/99-assign-to-project-on-milestone-set.yml b/.github/workflows/99-assign-to-project-on-milestone-set.yml index 4ef0957..d370743 100644 --- a/.github/workflows/99-assign-to-project-on-milestone-set.yml +++ b/.github/workflows/99-assign-to-project-on-milestone-set.yml @@ -14,14 +14,6 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Debug Information - run: | - echo "Repository: ${{ github.repository }}" - echo "Event: ${{ github.event_name }}" - echo "Issue Number: ${{ github.event.issue.number }}" - echo "Pull Request Number: ${{ github.event.pull_request.number }}" - echo "Milestone: ${{ github.event.milestone.title }}" - - name: Assign issue or PR to project if milestone set env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Pass the GITHUB_TOKEN for authentication @@ -37,8 +29,8 @@ jobs: echo "Issue/PR Number: $ISSUE_NUMBER" echo "Milestone: ${{ github.event.milestone.title }}" - # Directly set the column ID here (replace with the actual column ID) - COLUMN_ID="18" + # Directly set the project ID here (replace with the actual project ID) + PROJECT_ID="18" # Replace with your actual project ID # Get the repository details REPO_NAME=${{ github.repository }} @@ -48,12 +40,12 @@ jobs: if [ -n "${{ github.event.milestone }}" ]; then echo "Assigning issue/PR #$ISSUE_NUMBER to project..." - # Use curl to create a card in the specified project column + # Use curl to create a card in the project (no column ID specified) curl -X POST \ -H "Authorization: token $GITHUB_TOKEN" \ -H "Accept: application/vnd.github.v3+json" \ -d "{\"content_id\": \"$ISSUE_NUMBER\", \"content_type\": \"Issue\"}" \ - "https://api.github.com/repos/$REPO_NAME/projects/columns/$COLUMN_ID/cards" + "https://api.github.com/repos/$REPO_NAME/projects/$PROJECT_ID/columns/cards" else echo "No milestone set, skipping assignment." fi From 20bfaf5f258ccdec25d3c805db72b509cd1ec330 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Thu, 3 Apr 2025 11:17:03 +0200 Subject: [PATCH 10/16] Update 99-assign-to-project-on-milestone-set.yml --- .../workflows/99-assign-to-project-on-milestone-set.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/99-assign-to-project-on-milestone-set.yml b/.github/workflows/99-assign-to-project-on-milestone-set.yml index d370743..561ff8d 100644 --- a/.github/workflows/99-assign-to-project-on-milestone-set.yml +++ b/.github/workflows/99-assign-to-project-on-milestone-set.yml @@ -17,6 +17,7 @@ jobs: - name: Assign issue or PR to project if milestone set env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Pass the GITHUB_TOKEN for authentication + DEV_PROJECT_ID: ${{ secrets.DEV_PROJECT_ID }} # Pass the project ID as an environment variable run: | # Extract the issue or PR number if [ "${{ github.event.issue }}" ]; then @@ -28,9 +29,7 @@ jobs: # Output values for debugging echo "Issue/PR Number: $ISSUE_NUMBER" echo "Milestone: ${{ github.event.milestone.title }}" - - # Directly set the project ID here (replace with the actual project ID) - PROJECT_ID="18" # Replace with your actual project ID + echo "Using Project ID: $DEV_PROJECT_ID" # Get the repository details REPO_NAME=${{ github.repository }} @@ -45,7 +44,7 @@ jobs: -H "Authorization: token $GITHUB_TOKEN" \ -H "Accept: application/vnd.github.v3+json" \ -d "{\"content_id\": \"$ISSUE_NUMBER\", \"content_type\": \"Issue\"}" \ - "https://api.github.com/repos/$REPO_NAME/projects/$PROJECT_ID/columns/cards" + "https://api.github.com/repos/$REPO_NAME/projects/$DEV_PROJECT_ID/columns/cards" else echo "No milestone set, skipping assignment." fi From 4acbe070ab91f7007213cdc37d45cd4b4cdb4b88 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Thu, 3 Apr 2025 11:22:28 +0200 Subject: [PATCH 11/16] Update 99-assign-to-project-on-milestone-set.yml --- .github/workflows/99-assign-to-project-on-milestone-set.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/99-assign-to-project-on-milestone-set.yml b/.github/workflows/99-assign-to-project-on-milestone-set.yml index 561ff8d..cb90c74 100644 --- a/.github/workflows/99-assign-to-project-on-milestone-set.yml +++ b/.github/workflows/99-assign-to-project-on-milestone-set.yml @@ -10,6 +10,11 @@ jobs: assign_to_project: runs-on: ubuntu-latest + permissions: + issues: write # Permission to modify issues + pull-requests: write # Permission to modify pull requests + projects: write # Permission to manage projects + steps: - name: Checkout code uses: actions/checkout@v4 From c11f6110bd14c7611be94e4d70e86abe144c5654 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Thu, 3 Apr 2025 11:23:40 +0200 Subject: [PATCH 12/16] Update pull-request.yml --- .github/workflows/pull-request.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 61327b3..57b8db7 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -11,6 +11,7 @@ on: permissions: pull-requests: write contents: write + issues: write actions: read security-events: write From 1b6034ad8049b82881ff67aba7c09b2ea2b08617 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Thu, 3 Apr 2025 11:23:50 +0200 Subject: [PATCH 13/16] Update pull-request.yml --- .github/workflows/pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 57b8db7..643e506 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -11,7 +11,7 @@ on: permissions: pull-requests: write contents: write - issues: write + projects: write actions: read security-events: write From 02a90bc428e4a76cb2aa4b12f2dc8bd2635877be Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Thu, 3 Apr 2025 11:24:01 +0200 Subject: [PATCH 14/16] Update 99-assign-to-project-on-milestone-set.yml --- .github/workflows/99-assign-to-project-on-milestone-set.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/99-assign-to-project-on-milestone-set.yml b/.github/workflows/99-assign-to-project-on-milestone-set.yml index cb90c74..ef090b5 100644 --- a/.github/workflows/99-assign-to-project-on-milestone-set.yml +++ b/.github/workflows/99-assign-to-project-on-milestone-set.yml @@ -13,7 +13,6 @@ jobs: permissions: issues: write # Permission to modify issues pull-requests: write # Permission to modify pull requests - projects: write # Permission to manage projects steps: - name: Checkout code From fd840b507c66fcc15b0b7cb8b8e7ec0ca5cc98b1 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Thu, 3 Apr 2025 11:24:20 +0200 Subject: [PATCH 15/16] Update pull-request.yml --- .github/workflows/pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 643e506..4f17304 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -11,7 +11,7 @@ on: permissions: pull-requests: write contents: write - projects: write + repository-projects: write actions: read security-events: write From baa11490ca1ec080bce66a8845ddb752cdfb7348 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Thu, 3 Apr 2025 11:25:19 +0200 Subject: [PATCH 16/16] Update 99-assign-to-project-on-milestone-set.yml --- .github/workflows/99-assign-to-project-on-milestone-set.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/99-assign-to-project-on-milestone-set.yml b/.github/workflows/99-assign-to-project-on-milestone-set.yml index ef090b5..8c11c5f 100644 --- a/.github/workflows/99-assign-to-project-on-milestone-set.yml +++ b/.github/workflows/99-assign-to-project-on-milestone-set.yml @@ -13,6 +13,7 @@ jobs: permissions: issues: write # Permission to modify issues pull-requests: write # Permission to modify pull requests + repository-projects: write steps: - name: Checkout code