This repository was archived by the owner on Mar 23, 2026. It is now read-only.
[BUG] README example: issue_comment trigger can run CLA workflow on non-PR issues #51
This file contains hidden or 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: Auto Assign to Project(s) | |
| on: | |
| issues: | |
| types: [opened] | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| jobs: | |
| assign_one_project: | |
| runs-on: ubuntu-latest | |
| name: Assign to One Project | |
| steps: | |
| - name: Assign NEW issues and NEW pull requests to project 2 | |
| uses: srggrs/assign-one-project-github-action@1.2.1 | |
| if: github.event.action == 'opened' | |
| with: | |
| project: 'https://github.com/cla-assistant/github-action/projects/2' |