Skip to content

Commit

Permalink
Update Reopen.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Deep-Dark-Forest authored May 1, 2024
1 parent a38683c commit e0357bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Reopen.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Remove '拒绝' Label on PR Reopen
name: Remove '× 拒绝' Label on PR Reopen

on:
pull_request:
Expand All @@ -8,13 +8,13 @@ jobs:
remove-label:
runs-on: ubuntu-latest
steps:
- name: Remove '拒绝' label
- name: Remove '× 拒绝' label
uses: actions/github-script@v5
with:
github-token: ${{ secrets.SHEEP }}
script: |
const { owner, repo, number } = context.issue;
const labelToRemove = '拒绝';
const labelToRemove = '× 拒绝';
const { data: labels } = await github.rest.issues.listLabelsOnIssue({
owner,
repo,
Expand Down

0 comments on commit e0357bf

Please sign in to comment.