Skip to content

![image](https://github.com/user-attachments/assets/df53d304-ca60-4dcc-b090-3dcb9eda97e4) #1083

![image](https://github.com/user-attachments/assets/df53d304-ca60-4dcc-b090-3dcb9eda97e4)

![image](https://github.com/user-attachments/assets/df53d304-ca60-4dcc-b090-3dcb9eda97e4) #1083

Workflow file for this run

name: Auto-Label
on:
issues:
types: [opened]
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: satackey/action-js-inline@bf6fcaf35de1ed03bcfd25a0a8b1fa4c551ec908
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
script: |
const core = require('@actions/core');
const github = require('@actions/github');
const octokit = github.getOctokit(process.env.GITHUB_TOKEN);
const {repo, owner, number} = github.context.issue;
await octokit.rest.issues.addLabels({repo, owner, issue_number: number, labels: ['unconfirmed']});