diff --git a/.github/actions/close_issue/action.yml b/.github/actions/close_issue/action.yml index a048011f0..219e16757 100644 --- a/.github/actions/close_issue/action.yml +++ b/.github/actions/close_issue/action.yml @@ -32,7 +32,7 @@ runs: export CORE_URL=https://github.com/membraneframework/membrane_core export ISSUE_CLOSE_COMMENT="Issues related to $REPOSITORY are stored in [membrane_core]($CORE_URL), so we close this issue here and we encourage you to open it [there]($CORE_URL)." - gh issue edit $ISSUE_URL --add-project "Smackore" --add-label closed-by-membrane-bot + gh issue edit $ISSUE_URL --add-project "Smackore" sleep 10 export TICKET_ID=$(gh project item-list $PROJECT_NUMBER --owner membraneframework --format json --limit 10000000 | elixir get_ticket_id.exs "$ISSUE_URL" | awk '/TICKET_ID/{print $2}') diff --git a/.github/actions/create_label/action.yml b/.github/actions/create_label/action.yml deleted file mode 100644 index 984fbdd4c..000000000 --- a/.github/actions/create_label/action.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: 'Create label' -description: 'Creates a label closed-by-membrane-bot, if it does not exist.' -inputs: - GITHUB_TOKEN: - description: 'GitHub token' - required: true -runs: - using: 'composite' - steps: - - run: | - gh label create closed-by-membrane-bot --description "Automatically closed by Membrane bot" --color EB3467 || true - env: - GH_TOKEN: ${{ inputs.GITHUB_TOKEN }} - shell: bash