Skip to content

Bump actions/download-artifact from 8.0.0 to 8.0.1 in the actions-deps group #3

Bump actions/download-artifact from 8.0.0 to 8.0.1 in the actions-deps group

Bump actions/download-artifact from 8.0.0 to 8.0.1 in the actions-deps group #3

Workflow file for this run

name: Auto-merge PRs
on:
pull_request_target:
types: [opened, reopened, synchronize, ready_for_review]
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
name: Auto-merge Dependabot PRs
runs-on: ubuntu-latest
# Only run for Dependabot PRs
if: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: ${{ secrets.SKUNKWORKS_RABOT_PAT }}
- name: Approve PR
if: ${{ github.event.pull_request.draft == false }}
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.SKUNKWORKS_RABOT_PAT }}
- name: Enable auto-merge (rebase)
if: >-
${{ github.event.pull_request.draft == false &&
(steps.metadata.outputs.update-type == 'version-update:semver-patch' ||
steps.metadata.outputs.update-type == 'version-update:semver-minor' ||
steps.metadata.outputs.update-type == 'version-update:semver-major') }}
run: gh pr merge --auto --rebase "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.SKUNKWORKS_RABOT_PAT }}