adding both a user and group to content requires two method calls #24
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: Project Board | |
on: | |
issues: | |
types: | |
- opened | |
- labeled | |
- reopened | |
jobs: | |
add: | |
name: Add Issue | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- run: gh issue edit "$NUMBER" --add-label "$LABELS" | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GH_REPO: ${{ github.repository }} | |
NUMBER: ${{ github.event.issue.number }} | |
LABELS: sdk | |
- uses: actions/[email protected] | |
continue-on-error: true | |
with: | |
project-url: https://github.com/orgs/rstudio/projects/207 | |
github-token: ${{ secrets.CONNECT_ADD_TO_PROJECT_PAT }} |