feat: tudo funcionando perfeitamente #6
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
| --- | |
| # GitHub Actions workflow para automaticamente adicionar PRs e issues ao project board do Modern Gitops Stack. | |
| # | |
| # Este workflow gerencia issues e pull requests no projeto Modern Gitops Stack, | |
| # organizando-os no board para melhor acompanhamento e gestão. | |
| name: "module-add-to-project" | |
| on: | |
| workflow_call: | |
| secrets: | |
| PAT: | |
| description: "GitHub token for the Modern Gitops Stack Project" | |
| required: true | |
| issues: | |
| types: | |
| - opened | |
| - reopened | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| contents: write | |
| jobs: | |
| add-to-project: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Add PR or issue to Modern GitOps Stack project board | |
| uses: actions/add-to-project@v1.0.2 | |
| with: | |
| project-url: https://github.com/users/GersonRS/projects/2 | |
| github-token: ${{ secrets.PAT }} | |
| labeled: bug, needs-triage | |
| label-operator: NOT | |
| - name: Auto Author Assign | |
| uses: toshimaru/auto-author-assign@v2.1.1 | |
| with: | |
| repo-token: ${{ secrets.PAT }} |