[BUG]not so visible text on word of the day #1669
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
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.PAT_TOKEN }} # Use PAT_TOKEN for issues | |
labels: | | |
gssoc-ext | |
hacktoberfest-accepted | |
- 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: | | |
gssoc-ext | |
hacktoberfest-accepted |