Create is_occupied
property in Bed model
#751
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: Automate Issues to Project | |
on: | |
issues: | |
types: | |
- opened | |
- reopened | |
- closed | |
jobs: | |
issue_opened_and_reopened: | |
name: issue_opened_and_reopened | |
runs-on: ubuntu-latest | |
if: github.repository == 'coronasafe/care' && github.event_name == 'issues' && github.event.action == 'opened' || github.event.action == 'reopened' | |
steps: | |
- name: 'Move issue to "Triage"' | |
uses: leonsteinhaeuser/project-beta-automations@v1.0.1 | |
with: | |
gh_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
organization: coronasafe | |
project_id: 4 | |
resource_node_id: ${{ github.event.issue.node_id }} | |
status_value: "Triage" | |
issue_closed: | |
name: issue_closed | |
runs-on: ubuntu-latest | |
if: github.repository == 'coronasafe/care' && github.event_name == 'issues' && github.event.action == 'closed' | |
steps: | |
- name: 'Moved issue to "Done"' | |
uses: leonsteinhaeuser/project-beta-automations@v1.0.1 | |
with: | |
gh_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
organization: coronasafe | |
project_id: 4 | |
resource_node_id: ${{ github.event.issue.node_id }} | |
status_value: "Done" |