Apperance - color scheme - Can not be changed from the command line #959
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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']}); |