Skip to content

Commit

Permalink
chore: Apply workflow label_new_issues.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kjoremiljo-terraform-applyer[bot] authored Apr 3, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 10f6d43 commit 0c518d0
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/label_new_issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# https://docs.github.com/en/actions/managing-issues-and-pull-requests/adding-labels-to-issues
name: Label new issues 🏷️

on:
issues:
types:
- opened

jobs:

label_issues:

runs-on: ubuntu-latest

permissions:
issues: write

steps:


- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["new"]
})

0 comments on commit 0c518d0

Please # to comment.