Skip to content

Minor next

Minor next #3

name: Remove waiting label from PRs
on:
pull_request_target:
types: synchronize
jobs:
delabel:
name: Remove label
runs-on: ubuntu-latest
steps:
- name: Remove label
uses: actions/github-script@v7
with:
github-token: ${{ github.token }}
script: |
console.log(context);
const [owner, repo] = context.repository_owner.split('/');
octokit.rest.issues.removeLabel({
owner: owner,
repo: repo,
issue_number: context.event.pull_request.number,
name: "Status: Waiting on Author",
});