Skip to content

Commit

Permalink
Merge pull request #113 from swaraj-das/AnitSarkar123/fix-workflow-file
Browse files Browse the repository at this point in the history
Fix workflow file error
  • Loading branch information
AnitSarkar123 authored Oct 4, 2024
2 parents 4b8a720 + 1efd959 commit bc1584e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/auto-label-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
permissions:
issues: write
pull-requests: write
contents: read # Required to read repository contents

jobs:
label:
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,19 @@ Contributions are what make the **open-source** community such an amazing place
🔃 Open a <b>pull request</b>.


## 📄 Workflow Configuration

The `.github/workflows/auto-label-action.yml` file is used to automatically add labels to new issues and pull requests. This helps in organizing and managing the repository more efficiently.

### Permissions Required

The GitHub token used in the workflow file must have the following permissions:
- `issues: write`
- `pull-requests: write`
- `contents: read`

These permissions ensure that the workflow can read the repository contents and write labels to issues and pull requests.


## 👨‍💻 Author
### Created with ❤️ by Swaraj Das

0 comments on commit bc1584e

Please sign in to comment.