Skip to content

Commit

Permalink
Update add_underdev_label.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
natsuk4ze committed Aug 17, 2023
1 parent 28969d3 commit 033bb03
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/add_underdev_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,17 @@ on:
jobs:
label:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Check out code
uses: actions/checkout@v3

- name: Add under dev label
uses: actions/github-script@v6
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const issueNumber = context.issue.number;
github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: issueNumber,
labels: ['🛠️ under dev']
issue_number: context.issue.number,
labels: ["🛠️ under dev"]
});

0 comments on commit 033bb03

Please sign in to comment.