➕Enhancement : Styling "How to Play" Page Same as Privacy policy and terms and conditions page #270
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 Any Issue | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
auto-label: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Add labels to any new issue | |
uses: actions/github-script@v4 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
script: | | |
const labelsToAdd = ["gssoc"]; | |
await github.issues.addLabels({ | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
issue_number: context.issue.number, | |
labels: labelsToAdd | |
}); |