Skip to content

Use macros to simplify the code #80

Use macros to simplify the code

Use macros to simplify the code #80

Workflow file for this run

name: Triage Issues
on:
issues:
types: [opened]
jobs:
assignRob:
name: Assign Rob
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Apply untriaged label
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['untriaged','unreleased']
})
- name: Comment On New Issues
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '👋 Thanks for reporting! @robrbecker will take a look.'
})