Fix workflow file error #23
Workflow file for this run
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 New Issues & PRs | |
on: | |
issues: | |
types: [opened] | |
pull_request: | |
types: [opened] | |
permissions: | |
issues: write | |
pull-requests: write | |
contents: read # Required to read repository contents | |
jobs: | |
label: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v3 | |
- name: Add Labels to Issues & PRs | |
if: github.event_name == 'issues' || github.event_name == 'pull_request' | |
uses: actions-ecosystem/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
labels: | | |
hacktoberfest | |
hacktoberfest-accepted | |
gssoc-ext |