diff --git a/.github/workflows/PRs.yml b/.github/workflows/PRs.yml new file mode 100644 index 000000000..03f4dc09f --- /dev/null +++ b/.github/workflows/PRs.yml @@ -0,0 +1,17 @@ +name: 🤖 PR Assignment + +on: + pull_request: + types: [opened, edited, synchronize, reopened] + +jobs: + auto-assign: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - name: "Auto-assign PR" + uses: pozil/auto-assign-issue@v1 + with: + repo-token: ${{ secrets.GH_WORKFLOW_TOKEN }} + assignees: dgrebb diff --git a/.github/workflows/dispatch-bd-fe--cms.yml b/.github/workflows/dispatch-bd-fe--cms.yml index d99e729ae..2036e2055 100644 --- a/.github/workflows/dispatch-bd-fe--cms.yml +++ b/.github/workflows/dispatch-bd-fe--cms.yml @@ -14,7 +14,7 @@ jobs: steps: - name: ✓ Approve CMS Dispatch - uses: trstringer/manual-approval@v1 + uses: dgrebb/manual-approval@0.1.0 with: secret: ${{ github.TOKEN }} approvers: dgrebb @@ -22,8 +22,8 @@ jobs: issue-title: "Deploying ${{ github.ref_name }} via CMS Dispatch Event" issue-body: "Please approve or deny the deployment of version ${{ github.ref_name }}." exclude-workflow-initiator-as-approver: false - additional-approved-words: "" - additional-denied-words: "" + additional-approved-words: "y, a" + labels: "zz content-publish" frontend: runs-on: ubuntu-latest diff --git a/.github/workflows/dispatch-bd-fe--merge.yml b/.github/workflows/dispatch-bd-fe--merge.yml deleted file mode 100644 index e6c9b608e..000000000 --- a/.github/workflows/dispatch-bd-fe--merge.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: 🔀 B&D FE Merge - -on: - push: - branches: - - main - - develop - -jobs: - - frontend: - runs-on: ubuntu-latest - - steps: - - - name: Dispatch Frontend - run: | - curl -X POST https://api.github.com/repos/dgrebb/dgrebb.com/actions/workflows/${{ secrets.FRONTEND_WORKFLOW_ID }}/dispatches \ - -H 'Accept: application/vnd.github+json' \ - -H 'Authorization: Bearer ${{ secrets.DISPATCH_TOKEN }}' \ - --data '{"ref": "${{ github.ref_name }}"}' diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml new file mode 100644 index 000000000..45f1353d1 --- /dev/null +++ b/.github/workflows/issues.yml @@ -0,0 +1,18 @@ +name: 🤖 Issue Automation + +on: + issues: + types: [opened] + +jobs: + auto-assign: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - name: "Auto-Assign Issue" + uses: pozil/auto-assign-issue@v1 + with: + assignees: dgrebb + numOfAssignee: 1 + allowSelfAssign: true diff --git a/.github/workflows/ref-backstop.yml b/.github/workflows/test-backstop-refs.yml similarity index 100% rename from .github/workflows/ref-backstop.yml rename to .github/workflows/test-backstop-refs.yml diff --git a/_tf/modules/reports/index.html b/_tf/modules/reports/index.html index e849c5af8..2f0553447 100644 --- a/_tf/modules/reports/index.html +++ b/_tf/modules/reports/index.html @@ -3,7 +3,7 @@
- +