fix: π activeUserCount λ ν΄λΉ μμ λ°μ΄ν°κ° μλ κ²½μ° 0λͺ μΌλ‘ μ²λ¦¬νλλ‘ μμ #981
Workflow file for this run
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: Project automations | |
on: | |
issues: | |
types: | |
- opened | |
- reopened | |
- closed | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- review_requested | |
- closed | |
# map fields with customized labels | |
env: | |
ready: π Ready | |
code_review: π In review | |
done: β Done | |
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.ready }} | |
uses: leonsteinhaeuser/project-beta-automations@v2.1.0 | |
with: | |
gh_token: ${{ secrets.WRITE_PROJECT_TOKEN }} | |
organization: 42Statistics | |
project_id: 3 | |
resource_node_id: ${{ github.event.issue.node_id }} | |
status_value: ${{ env.ready }} # Target status | |
issue_closed: | |
name: issue_closed | |
runs-on: ubuntu-latest | |
if: github.event_name == 'issues' && github.event.action == 'closed' | |
steps: | |
- name: Moved issue to ${{ env.done }} | |
uses: leonsteinhaeuser/project-beta-automations@v2.1.0 | |
with: | |
gh_token: ${{ secrets.WRITE_PROJECT_TOKEN }} | |
organization: 42Statistics | |
project_id: 3 | |
resource_node_id: ${{ github.event.issue.node_id }} | |
status_value: ${{ env.done }} # Target status | |
pr_opened_or_reopened_or_reviewrequested: | |
name: pr_opened_or_reopened_or_reviewrequested | |
runs-on: ubuntu-latest | |
if: github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'review_requested') | |
steps: | |
- name: Move PR to ${{ env.code_review }} | |
uses: leonsteinhaeuser/project-beta-automations@v2.1.0 | |
with: | |
gh_token: ${{ secrets.WRITE_PROJECT_TOKEN }} | |
organization: 42Statistics | |
project_id: 3 | |
resource_node_id: ${{ github.event.pull_request.node_id }} | |
status_value: ${{ env.code_review }} # Target status | |
pr_closed: | |
name: pr_closed | |
runs-on: ubuntu-latest | |
if: github.event_name == 'pull_request' && github.event.action == 'closed' | |
steps: | |
- name: Move PR to ${{ env.done }} | |
uses: leonsteinhaeuser/project-beta-automations@v2.1.0 | |
with: | |
gh_token: ${{ secrets.WRITE_PROJECT_TOKEN }} | |
organization: 42Statistics | |
project_id: 3 | |
resource_node_id: ${{ github.event.pull_request.node_id }} | |
status_value: ${{ env.done }} # Target status |