Skip to content

Commit

Permalink
fix: remove redundant project actions (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Basty committed Jun 14, 2023
1 parent bb1e0f4 commit 90a3a7e
Showing 1 changed file with 0 additions and 43 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/issues.yaml
Original file line number Diff line number Diff line change
@@ -1,57 +1,14 @@
name: Project Workflows

on:
issues:
types:
- reopened
- closed
pull_request_target:
types:
- opened
- edited
- reopened
- synchronize

env:
project_id: 20
new: πŸ†• New
backlog: πŸ—ƒ Backlog
prioritized: πŸ”– Prioritized
in_progress: πŸ— In progress
blocked: πŸ›‘ Blocked
in_review: πŸ‘€ In review
done: βœ… Done

jobs:

issue_reopened:
name: Issue Reopened
runs-on: ubuntu-latest
if: github.event_name == 'issues' && github.event.action == 'reopened'
steps:
- name: Move issue to ${{ env.prioritized }}
uses: leonsteinhaeuser/project-beta-automations@v2.1.0
with:
gh_token: ${{ secrets.GITHUB_TOKEN }}
organization: WalletConnect
project_id: ${{ env.project_id }}
resource_node_id: ${{ github.event.issue.node_id }}
status_value: ${{ env.prioritized }}

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.GITHUB_TOKEN }}
organization: WalletConnect
project_id: ${{ env.project_id }}
resource_node_id: ${{ github.event.issue.node_id }}
status_value: ${{ env.done }}

check_pull_requests:
name: Check linked issues
runs-on: ubuntu-latest
Expand Down

0 comments on commit 90a3a7e

Please sign in to comment.