Skip to content

chore(deps): bump JamesIves/github-pages-deploy-action from 4.6.9 to 4.7.1 #1097

chore(deps): bump JamesIves/github-pages-deploy-action from 4.6.9 to 4.7.1

chore(deps): bump JamesIves/github-pages-deploy-action from 4.6.9 to 4.7.1 #1097

Workflow file for this run

name: Auto-approve a pull request
on:
pull_request
env:
PR_OWNER: ${{ github.event.pull_request.user.login }}
GITHUB_OAUTH_TOKEN: ${{ secrets.DOCUMENT_REVIEW_GITHUB }}
TEAM_NAME: "WebOps"
jobs:
check-diff:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- name: Checkout PR code
uses: actions/checkout@v4
- run: |
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
- name: Run git diff against repository
run: |
git diff origin/main HEAD > changes
- name: Auto-approval check
id: approve_pr_check
uses: ministryofjustice/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_OWNER: ${{ github.event.pull_request.user.login }}
GITHUB_OAUTH_TOKEN: ${{ secrets.DOCUMENT_REVIEW_GITHUB }}
TEAM_NAME: "WebOps"
- name: Approving PR
uses: hmarr/auto-approve-action@v4
if: steps.approve_pr_check.outputs.review_pr == 'true'
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"