FOSSA license scan runs only on main repo #174
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 project | |
on: | |
issues: | |
types: | |
- opened | |
pull_request: | |
types: | |
- opened | |
jobs: | |
add-to-project: | |
name: Add issue to project | |
# Only run jobs if the feature branch is in your repo (not in a fork) | |
# OR | |
# it is an issue | |
if: github.event.pull_request.head.repo.full_name == github.repository || github.event.issue.number != '' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/add-to-project@v0.5.0 | |
with: | |
project-url: https://github.com/orgs/Kuadrant/projects/18 | |
github-token: ${{ secrets.ADD_ISSUES_TOKEN }} |