We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following permissions must be added to a GitHub Actions workflow:
permissions: pull-requests: write issues: write
This will provide the default GITHUB_TOKEN permissions to work with issues and pull requests.
GITHUB_TOKEN
Currently, the GitHub REST API endpoint used to add a label is shared by issues and pull requests.
Therefore, the documentation on how to use the action should be updated as follows:
name: 🏷 PR size labeler on: [pull_request] permissions: pull-requests: write issues: write jobs: pr-labeler: runs-on: ubuntu-latest name: Label the PR size steps: - uses: BedrockStreaming/pr-size-labeler@v1 with: token: ${{ secrets.GITHUB_TOKEN }} exclude_files: .lock
References: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
The text was updated successfully, but these errors were encountered:
Update README.md
9fa8188
Closes BedrockStreaming#7
Successfully merging a pull request may close this issue.
The following permissions must be added to a GitHub Actions workflow:
This will provide the default
GITHUB_TOKEN
permissions to work with issues and pull requests.Currently, the GitHub REST API endpoint used to add a label is shared by issues and pull requests.
Therefore, the documentation on how to use the action should be updated as follows:
References:
https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
The text was updated successfully, but these errors were encountered: