From f3756f9c0ed941a844b6e782703eb2c176c40d9e Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Tue, 15 Oct 2024 10:16:10 +0200 Subject: [PATCH] Add on-unlabeled.yml (#11970) --- .github/workflows/on-unlabeled.yml | 35 ++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/on-unlabeled.yml diff --git a/.github/workflows/on-unlabeled.yml b/.github/workflows/on-unlabeled.yml new file mode 100644 index 00000000000..aca9773385c --- /dev/null +++ b/.github/workflows/on-unlabeled.yml @@ -0,0 +1,35 @@ +name: On unlabeled + +on: + issues: + types: + - unlabeled + pull_request_target: + types: + - unlabeled + +jobs: + FirstTimeCodeContribution_or_Assigned: + if: ${{ (github.event.label.name == 'FirstTimeCodeContribution') || (github.event.label.name == '📍 Assigned') }} + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - name: Move Issue to "Free to take" Column in "Candidates for University Projects" + uses: m7kvqbe1/github-action-move-issues@feat/default-column-label-remove + with: + github-token: ${{ secrets.GH_TOKEN_ACTION_MOVE_ISSUE }} + project-url: "https://github.com/orgs/JabRef/projects/3" + target-labels: "📍 Assigned" + target-column: "Assigned" + ignored-columns: "" + default-column: "Free to take" + - name: Move Issue to "Free to take" Column in "Good First Issues" + uses: m7kvqbe1/github-action-move-issues@feat/default-column-label-remove + with: + github-token: ${{ secrets.GH_TOKEN_ACTION_MOVE_ISSUE }} + project-url: "https://github.com/orgs/JabRef/projects/5" + target-labels: "📍 Assigned" + target-column: "Assigned" + ignored-columns: "" + default-column: "Free to take"