Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix workflow file error #113

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading