From 23be7b2b2bc68a38307404fd4c55264067687f85 Mon Sep 17 00:00:00 2001 From: Jake Callahan Date: Wed, 26 Jul 2023 10:09:55 -0400 Subject: [PATCH 1/2] Tier2 Reviewers Assignment Add the initial workflow for Tier 2 reviewer assignment. --- .github/workflows/tier_2_reviews.yaml | 37 +++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/tier_2_reviews.yaml diff --git a/.github/workflows/tier_2_reviews.yaml b/.github/workflows/tier_2_reviews.yaml new file mode 100644 index 00000000000..28b290791df --- /dev/null +++ b/.github/workflows/tier_2_reviews.yaml @@ -0,0 +1,37 @@ +# Github Action to Automatically assign T2 Reviewers to framework touched PRs +name: Tier2 Reviewers + +on: + pull_request: + paths: ['*', '.github/**', 'conf/**', 'pytest_fixtures/**', 'pytest_plugins/**', 'robottelo/**', '!robottelo/constants/*', 'scripts/**', 'tests/foreman/sanity/*'] + +permissions: + pull-requests: write + +env: + NUMBER: ${{ github.event.number }} + REVIEWERS: '["robottelo-tier-2-reviewers"]' + LABELS: '["Framework Changes"]' + +jobs: + assign-label-T2-reviewers: + name: Assign Tier2 Reviewers to the PR + runs-on: ubuntu-latest + steps: + - name: Add Labels to the PR + run: | + echo "Adding applicable labels to the PR $NUMBER" + curl -L -X POST \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer ${{ secrets.CHERRYPICK_PAT }}" \ + https://api.github.com/repos/SatelliteQE/robottelo/issues/$NUMBER/labels \ + -d '{"labels": '"$LABELS"'}' + - name: Assign T2 Reviewers Team to the PR + run: | + echo "Assigning T2 Reviewers to the PR $number" + curl -L \ + -X POST \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer ${{ secrets.CHERRYPICK_PAT }}" \ + https://api.github.com/repos/SatelliteQE/robottelo/pulls/$NUMBER/requested_reviewers \ + -d '{"team_reviewers": '"${REVIEWERS}"'}' From 86bec09e4907109ffbc51ea3f2197d6ba5cd5cde Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 29 Dec 2023 13:06:07 +0000 Subject: [PATCH 2/2] Bump betelgeuse from 1.10.0 to 1.11.0 Bumps [betelgeuse](https://github.com/SatelliteQE/betelgeuse) from 1.10.0 to 1.11.0. - [Release notes](https://github.com/SatelliteQE/betelgeuse/releases) - [Commits](https://github.com/SatelliteQE/betelgeuse/compare/1.10.0...1.11.0) --- updated-dependencies: - dependency-name: betelgeuse dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 703fa6c5349..05f45fa9891 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ # Version updates managed by dependabot -betelgeuse==1.10.0 +betelgeuse==1.11.0 broker[docker]==0.3.2 cryptography==41.0.2 deepdiff==6.3.1