-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Problem: We want to automate adding labels and responding to issues and PRs. Solution: Use a bot!
- Loading branch information
Showing
2 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: NGINX Bot | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
- reopened | ||
- edited | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- edited | ||
|
||
concurrency: | ||
group: ${{ github.event.issue.number || github.event.pull_request.number }}-bot | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
jobs: | ||
comment: | ||
name: Run the bot | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Bot Action | ||
uses: lucacome/nginx-bot@main | ||
with: | ||
pr-assignee-from-issue: 583 | ||
warn-missing-issue: true | ||
missing-issue-message: | | ||
Please make sure to include the issue number in the PR description to automatically close the issue when the PR is merged. | ||
See [Linking a pull request to an issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) and our [Pull Request Guidelines](../docs/developer/pull-request.md) for more information. |
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