A failed pytest run should result in an abandoned deployment #1453
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: "Project triage: Issues" | |
| on: | |
| issues: | |
| types: [opened, transferred] | |
| jobs: | |
| add-to-project-issues: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # https://github.com/actions/add-to-project/issues/563 | |
| - uses: actions/add-to-project@v2 | |
| with: | |
| project-url: ${{ secrets.USB_PROJECT_URL }} | |
| github-token: ${{ secrets.USB_PROJECT_TOKEN }} | |
| # issues created by our onboarding scaffolding are already shaped | |
| # and should be added to the Customer Success project too | |
| agency-onboarding-status: | |
| runs-on: ubuntu-latest | |
| if: "contains( github.event.issue.labels.*.name, 'agency-onboarding')" | |
| steps: | |
| - uses: EndBug/project-fields@v2 | |
| with: | |
| operation: set | |
| fields: Status | |
| values: "Todo" | |
| project_url: ${{ secrets.USB_PROJECT_URL }} | |
| github_token: ${{ secrets.USB_PROJECT_TOKEN }} | |
| - uses: actions/add-to-project@v2 | |
| with: | |
| project-url: ${{ vars.CS_PROJECT_URL }} | |
| github-token: ${{ secrets.CS_PROJECT_TOKEN }} |