Skip to content

Commit

Permalink
Update add_label.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tilucasoli committed Jun 28, 2024
1 parent dceb051 commit 70da42c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/add_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,18 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- uses: snnaplab/get-labels-action@v1

- uses: actions/github-script@v7
with:
script: |
console.log(github.event.issue.labels)
console.log(env.LABELS)
github.rest.issues.removeLabel({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
name: github.event.pull_request.labels
name: env.LABELS
})
const { execSync } = require('child_process')
Expand Down

0 comments on commit 70da42c

Please sign in to comment.