How to handle "turning off" timing monitor module while code is in place. #17
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] | |
pull_request: | |
types: [opened] | |
# issue_comment: | |
# types: [created] | |
env: | |
target: "New issues" | |
jobs: | |
issue_opened_or_reopened: | |
name: issue_opened_or_reopened | |
runs-on: ubuntu-latest | |
if: github.event_name == 'issues' && (github.event.action == 'opened' || github.event.action == 'reopened') | |
steps: | |
- name: Move issue to ${{ env.target }} | |
uses: leonsteinhaeuser/[email protected] | |
with: | |
gh_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
user: pingevt | |
# organization: pingevt | |
project_id: 3 | |
resource_node_id: ${{ github.event.issue.node_id }} | |
status_value: ${{ env.target }} # Target status |