Skip to content

fix(deps): update dependency ibm-cos-sdk to v2.14.0 #217

fix(deps): update dependency ibm-cos-sdk to v2.14.0

fix(deps): update dependency ibm-cos-sdk to v2.14.0 #217

# This workflow is required and run as part of an org-wide ruleset
name: Dependency Auto-Merge
on:
pull_request:
merge_group:
permissions:
pull-requests: write
contents: write
issues: write
jobs:
dependabot:
name: Auto-Merge Dependabot PR
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge
# Only enable auto-merge if the PR is not a major version update
# if: steps.metadata.outputs.update-type != 'version-update:semver-major'
# Requires that auto-merge is enabled for the repository
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Approve PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
mend:
name: Auto-Merge Mend PR
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login == 'ibm-mend-app[bot]' }}
steps:
- name: Enable auto-merge
# Requires that auto-merge is enabled for the repository
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Approve PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}