For #25999 - Add GitHub actions to tag milestones, link issues and reopen issues for QA
parent
218bc7f78c
commit
d373f2b1c4
@ -0,0 +1,21 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/
|
||||
|
||||
name: Issue Linker
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
issue_linker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Issue Linker
|
||||
uses: gabrielluong/issue-linker@1.0.0
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
commit-regexp: "#(\\d+)+"
|
||||
section: "### GitHub Automation"
|
@ -0,0 +1,20 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/
|
||||
|
||||
name: Tag Milestone
|
||||
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- closed
|
||||
|
||||
jobs:
|
||||
milestone:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.actor == 'mergify[bot]'
|
||||
steps:
|
||||
- name: Tag Milestone
|
||||
uses: gabrielluong/milestone@1.0.0
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
@ -0,0 +1,22 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/
|
||||
|
||||
name: QA Needed
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
qa_needed:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: QA Needed
|
||||
uses: gabrielluong/qa-needed@1.0.1
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
label: "eng:reopen-for-qa"
|
||||
check-regexp: "- \\[([ xX]?)\\] \\*\\*QA Needed\\*\\*"
|
||||
commit-regexp: "#(\\d+)+"
|
@ -0,0 +1,21 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/
|
||||
|
||||
name: Reopen for QA Needed
|
||||
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- closed
|
||||
|
||||
jobs:
|
||||
reopen_qa_needed:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Reopen for QA Needed
|
||||
uses: gabrielluong/reopen-for-qa-needed@1.0.0
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
reopen-label: "eng:reopen-for-qa"
|
||||
qa-label: "eng:qa:needed"
|
Loading…
Reference in New Issue