Fix Chatting icons #79
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: Mod-Project Integration | |
| on: | |
| issues: | |
| types: [opened] | |
| pull_request: | |
| types: [opened] | |
| permissions: | |
| contents: read | |
| issues: read | |
| pull-requests: read | |
| jobs: | |
| add-to-project: | |
| name: Add issue/PR to project | |
| runs-on: ubuntu-latest | |
| env: | |
| ADD_TO_PROJECT_PAT: ${{ secrets.ADD_TO_PROJECT_PAT }} | |
| steps: | |
| - name: Add issue/PR to project | |
| if: ${{ env.ADD_TO_PROJECT_PAT != '' }} | |
| uses: actions/add-to-project@v2 | |
| with: | |
| project-url: https://github.com/orgs/Polyfrost/projects/9 | |
| github-token: ${{ env.ADD_TO_PROJECT_PAT }} | |
| - name: Skip project automation without token | |
| if: ${{ env.ADD_TO_PROJECT_PAT == '' }} | |
| run: echo "ADD_TO_PROJECT_PAT is not configured; skipping project automation." |