BUG: NavBar buttons showing cursor doesn't look good #188
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: Add Labels to Issues | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
add-labels: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Add 'gssoc23' Label to Issue | |
uses: actions/github-script@v4 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
script: | | |
const { owner, repo } = context.repo; | |
const issueNumber = context.payload.issue.number; | |
const label = 'gssoc23'; | |
const addLabelParams = { | |
owner: owner, | |
repo: repo, | |
issue_number: issueNumber, | |
labels: [label] | |
}; | |
await github.issues.addLabels(addLabelParams); | |
console.log(`Added the 'gssoc23' label to Issue #${issueNumber}.`); |