Skip to content

Remove needs-reply label #4886

Remove needs-reply label

Remove needs-reply label #4886

name: Remove needs-reply label
on:
schedule:
- cron: '0 3 * * 1'
issue_comment:
types:
- created
jobs:
build:
runs-on: ubuntu-latest
if: |
github.event.comment.author_association != 'OWNER' &&
github.event.comment.author_association != 'COLLABORATOR' &&
github.repository_owner == 'pybamm-team' &&
github.event_name != 'pull_request'
steps:
- name: Remove needs-reply label
uses: octokit/request-action@dad4362715b7fb2ddedf9772c8670824af564f0d # v2.4.0
continue-on-error: true
with:
route: DELETE /repos/:repository/issues/:issue/labels/:label
repository: ${{ github.repository }}
issue: ${{ github.event.issue.number }}
label: needs-reply
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}