Skip to content

bug:DOMTokenList error #278

bug:DOMTokenList error

bug:DOMTokenList error #278

Workflow file for this run

name: "PR Labeler for Hacktoberfest (v2)"
on:
pull_request_target:
types: [opened, reopened, closed]
jobs:
add-labels:
runs-on: ubuntu-latest
permissions:
pull-requests: write # ✅ allow labeling
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- name: Add default label when PR is created
if: github.event.action == 'opened' || github.event.action == 'reopened'
uses: actions-ecosystem/action-add-labels@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
labels: |
pr-opened
- name: Add Hacktoberfest labels when PR is merged
if: github.event.action == 'closed' && github.event.pull_request.merged == true
uses: actions-ecosystem/action-add-labels@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
labels: |
hacktoberfest
hacktoberfest_2025
hacktoberfest-accepted