Skip to content

Commit

Permalink
auto-label.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
amiya-cyber authored Oct 29, 2024
1 parent 02b2c13 commit 57ede4f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/auto-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Auto Assign and Label PR

on:
pull_request_target:
types: [opened]

permissions:
issues: write
pull-requests: write

jobs:
assign-and-label:
runs-on: ubuntu-latest

steps:
- name: Add Labels to PR
uses: actions-ecosystem/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
labels: |
gssoc-ext
hacktoberfest-accepted
- name: Assign PR to Creator
uses: actions-ecosystem/action-assign@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
assignees: ${{ github.actor }}

0 comments on commit 57ede4f

Please sign in to comment.