[Snyk] Security upgrade onfido-sdk-ui from 13.6.1 to 14.15.0 #4
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
name: imgbot Image Optimization | |
on: pull_request | |
permissions: | |
pull-requests: write | |
# The two permissions below are supposedly needed to allow a pull request to be merged. | |
# See https://github.com/cli/cli/discussions/6379 | |
issues: write | |
contents: write | |
jobs: | |
approveAndMerge: | |
runs-on: ubuntu-latest | |
if: ${{ github.actor == 'imgbot[bot]' }} | |
steps: | |
- name: Approve imgbot PR | |
run: gh pr review --approve "${{ github.event.pull_request.html_url }}" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Merge imgbot PR | |
run: gh pr merge --auto --merge "${{ github.event.pull_request.html_url }}" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |