[Bug]: /usr/bin/ocrmypdf:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import load_entry_point 8.0.1+dfsg #48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2024 James R. Barlow | |
# SPDX-License-Identifier: MPL-2.0 | |
name: Remove Triage Label on Reply | |
on: | |
issue_comment: | |
types: | |
- created | |
jobs: | |
remove-triage-label: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check if comment is by the repository owner | |
id: check_comment | |
run: | | |
echo "::set-output name=is_owner::$( | |
if [[ '${{ github.event.comment.user.login }}' == 'jbarlow83' ]]; then | |
echo 'true'; | |
else | |
echo 'false'; | |
fi | |
)" | |
- name: Remove 'triage' label | |
if: ${{ steps.check_comment.outputs.is_owner == 'true' }} | |
uses: actions-ecosystem/action-remove-labels@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
labels: triage |