This repository has been archived by the owner on Feb 11, 2024. It is now read-only.
generated from WalletConnect/rust-http-starter
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add project issues workflow, remove intake
- Loading branch information
Xavier Basty
committed
Jun 9, 2023
1 parent
f73f16c
commit d532305
Showing
2 changed files
with
110 additions
and
42 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
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 | ||
if: github.event_name == 'pull_request_target' | ||
permissions: | ||
issues: read | ||
pull-requests: write | ||
steps: | ||
- uses: nearform-actions/github-action-check-linked-issues@v1 | ||
id: check-linked-issues |