Skip to content

feat(analytics): track unsupported chains to check the demand #14

feat(analytics): track unsupported chains to check the demand

feat(analytics): track unsupported chains to check the demand #14

Workflow file for this run

# This workflow moves issues to the Project board when they receive the "accepted" label
# When WalletConnect Org members create issues they are automatically "accepted".
# Otherwise, they need to manually receive that label during intake.
name: ⚡ Intake
on:
issues:
types: [ opened, labeled ]
jobs:
add-to-project:
name: Add issue to board
if: github.event_name == 'issues' && github.event.action == 'labeled' && github.event.label.name == 'accepted'
runs-on:
group: ${{ vars.RUN_GROUP }}
steps:
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/WalletConnect/projects/20
github-token: ${{ secrets.ASSIGN_TO_PROJECT_GITHUB_TOKEN }}
labeled: accepted
label-operator: OR
auto-promote:
name: auto-promote
if: github.event.action == 'opened'
runs-on:
group: ${{ vars.RUN_GROUP }}
steps:
- name: Check Core Team membership
uses: tspascoal/get-user-teams-membership@v1
id: is-core-team
with:
username: ${{ github.event_name != 'pull_request' && github.event.issue.user.login || github.event.sender.login }}
team: "Core Team"
GITHUB_TOKEN: ${{ secrets.ASSIGN_TO_PROJECT_GITHUB_TOKEN }}
- name: Print result
env:
CREATOR: ${{ github.event_name != 'pull_request' && github.event.issue.user.login || github.event.sender.login }}
IS_TEAM_MEMBER: ${{ steps.is-core-team.outputs.isTeamMember }}
run: echo "$CREATOR (Core Team Member $IS_TEAM_MEMBER) created this issue/PR"
- name: Label issues
if: ${{ steps.is-core-team.outputs.isTeamMember == 'true' }}
uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90
with:
add-labels: "accepted"
repo-token: ${{ secrets.ASSIGN_TO_PROJECT_GITHUB_TOKEN }}