Skip to content

SECURITY + AUTH: Secure auth system #127

SECURITY + AUTH: Secure auth system

SECURITY + AUTH: Secure auth system #127

name: Auto Label Issues and PRs
on:
issues:
types: [opened]
pull_request_target: # Correct indentation here
types: [opened]
jobs:
add-labels:
runs-on: ubuntu-latest
steps:
- name: Add labels to new issues
if: github.event_name == 'issues'
uses: actions-ecosystem/action-add-labels@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }} # Use GITHUB_TOKEN for issues
labels: |
gssoc26
- name: Add labels to new pull requests
if: github.event_name == 'pull_request_target'
uses: actions-ecosystem/action-add-labels@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }} # Use GITHUB_TOKEN for PRs
labels: |
gssoc26