Can we refactor to avoid calling getDiscussionsAndTopics
here? We already grabbed all the discussion data earlier, and now we're retrieving it again on a per-module basis. I think we call the API once and re-use the data returned.
#1
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 issues to LA project | |
on: | |
issues: | |
types: | |
- opened | |
jobs: | |
add-to-project: | |
name: Add issue to project | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
# You can target a repository in a different organization | |
# to the issue | |
project-url: https://github.com/orgs/ubc/projects/7 | |
github-token: ${{ secrets.ADD_TO_PROJECT_LA }} |