Skip to content

Commit

Permalink
add: yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tokku5552 committed Aug 26, 2023
1 parent d43e76a commit ce36810
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: [tokku5552] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
21 changes: 21 additions & 0 deletions .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: auto assign

on:
pull_request:
types: [opened, unassigned, synchronize, edited]

env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.pull_request.number }}
ASSIGNEE: ${{ github.event.pull_request.user.login }}

jobs:
assign:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- run: cat $GITHUB_EVENT_PATH
- name: Add assignee
if: ${{ !endsWith( github.event.pull_request.user.login, '[bot]') }}
run: gh pr edit $NUMBER --add-assignee $ASSIGNEE

0 comments on commit ce36810

Please sign in to comment.