slack icon #10
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/[email protected] | |
with: | |
project-url: https://github.com/orgs/Kuadrant/projects/18 | |
github-token: ${{ secrets.ADD_ISSUES_TOKEN }} |