Skip to content
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "Associate to Project"
on:
issues:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Roslyn Compiler Warnings
runs-on: [self-hosted]
env:
# Required for actions/setup-dotnet@v3 on self-hosted runners where runners don't have sudo permissions
DOTNET_INSTALL_DIR: "./.dotnet"
steps:
- name: Add To GitHub projects
uses: actions/[email protected]
with:
# You can target a project in a different organization
# to the issue
project-url: https://github.com/orgs/<orgName>/projects/<projectNumber>
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}