New organization onboarding through api (Getting api key of newly created organization) #702
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 Triage Label | |
on: | |
issues: | |
types: [opened] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
check: | |
name: Verify | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20.8.1 | |
- name: Install Octokit | |
run: npm --prefix .github/workflows/scripts install @octokit/action@6 | |
- name: Check if user is a community contributor | |
id: check | |
run: node .github/workflows/scripts/add-triage-label.js | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |